mirror of
https://github.com/sstent/unifi.git
synced 2025-12-06 06:01:37 +00:00
Adopt README.md
This commit is contained in:
10
README.md
10
README.md
@@ -7,7 +7,7 @@ this Docker container based on Ubuntu Trusty runs a Ubiquiti Unifi5 Controler. T
|
|||||||
|
|
||||||
### build
|
### build
|
||||||
```sh
|
```sh
|
||||||
docker build -t tommi2day/unifi5 -f Dockerfile.unifi .
|
docker build -t tommi2day/unifi5 -f Dockerfile.unifi5 .
|
||||||
```
|
```
|
||||||
see also build_unifi.sh
|
see also build_unifi.sh
|
||||||
### exposed Ports
|
### exposed Ports
|
||||||
@@ -34,10 +34,10 @@ for the datafiles when launching a new container, e.g:
|
|||||||
docker volume create --name unifi_data
|
docker volume create --name unifi_data
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-v unifi_data:/usr/lib/unifi/data \
|
-v unifi_data:/usr/lib/unifi/data \
|
||||||
-v /shared/unifi/backups:/backups \
|
-v /shared/unifi5/backups:/backups \
|
||||||
-v /shared/unifi/logs":/logs \
|
-v /shared/unifi5/logs":/logs \
|
||||||
--hostname unifi \
|
--hostname unifi5 \
|
||||||
--name unifi \
|
--name unifi5 \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
-p 8443:8443 \
|
-p 8443:8443 \
|
||||||
-p 27117:27117 \
|
-p 27117:27117 \
|
||||||
|
|||||||
Reference in New Issue
Block a user