Skip to content

Commit

Permalink
Update documentation & examples
Browse files Browse the repository at this point in the history
  • Loading branch information
goofball222 committed Jul 18, 2023
1 parent 022289e commit 4b01705
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ This container exposes the following ports (see: https://help.ubnt.com/hc/en-us/
$ docker run --name unifi -d \
-p 3478:3478/udp -p 8080:8080 -p 8443:8443 \
-p 8880:8880 -p 8843:8843 \
goofball222/unifi
ghcr.io/goofball222/unifi
```
---
Expand All @@ -124,7 +124,7 @@ version: '3'
services:
unifi:
image: goofball222/unifi
image: ghcr.io/goofball222/unifi
container_name: unifi
restart: unless-stopped
network_mode: bridge
Expand Down Expand Up @@ -154,7 +154,9 @@ version: '3'
services:
mongo:
image: mongo
# Use max mongo version 5.0.X. Higher versions are incompatible with the mongo driver built into Unifi.
# Older versions are acceptable, ie: mongo:3.6
image: mongo:5.0
container_name: unifidb
restart: unless-stopped
# By default docker-compose will create a new bridge network for the services in the compose file.
Expand All @@ -164,7 +166,7 @@ services:
- ./data/db:/data/db
unifi:
image: goofball222/unifi
image: ghcr.io/goofball222/unifi
container_name: unifi
restart: unless-stopped
# By default docker-compose will create a new bridge network for the services in the compose file.
Expand Down
6 changes: 4 additions & 2 deletions examples/docker-compose.externaldb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ version: '3'

services:
mongo:
image: mongo
# Use max mongo version 5.0.X. Higher versions are incompatible with the mongo driver built into Unifi.
# Older versions are acceptable, ie: mongo:3.6
image: mongo:5.0
container_name: unifidb
restart: unless-stopped
# By default docker-compose will create a new bridge network for the services in the compose file.
Expand All @@ -12,7 +14,7 @@ services:
- ./data/db:/data/db

unifi:
image: goofball222/unifi
image: ghcr.io/goofball222/unifi
container_name: unifi
restart: unless-stopped
# By default docker-compose will create a new bridge network for the services in the compose file.
Expand Down
2 changes: 1 addition & 1 deletion examples/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
unifi:
image: goofball222/unifi
image: ghcr.io/goofball222/unifi
container_name: unifi
restart: unless-stopped
# By default docker-compose will create a new bridge network for the services in the compose file.
Expand Down

0 comments on commit 4b01705

Please sign in to comment.