Browse Source

Add README

5.2.7
Chris Smith 8 years ago
parent
commit
5f4c8b2ccd
1 changed files with 32 additions and 0 deletions
  1. 32
    0
      README.md

+ 32
- 0
README.md View File

@@ -0,0 +1,32 @@
1
+# UniFi Controller Dockerfile
2
+
3
+This is a dockerised version of the Unifi Access Point (UAP) Controller.
4
+
5
+## Usage
6
+
7
+Create a named volume to persist data:
8
+
9
+```bash
10
+docker volume create --name unifi-data
11
+```
12
+
13
+Pull the image for the desired version of the controller:
14
+
15
+```bash
16
+docker pull csmith/unifi:4.8.18
17
+```
18
+
19
+Start a container, exposing ports as needed:
20
+
21
+```bash
22
+docker run -d --name unifi \
23
+              --restart always \
24
+              -p 8443:8443 \
25
+              -p 8080:8080 \
26
+              -v unifi-data:/var/lib/unifi \
27
+              csmith/unifi:4.8.18
28
+```
29
+
30
+Port 8443 is used for the HTTPS web interface, port 8080 used by APs.
31
+
32
+The Dockerfile exposes these ports: 8081 8443 8843 8880

Loading…
Cancel
Save