[a] add UniFi controller service with Docker Compose
This commit is contained in:
parent
e098e09e12
commit
1b59bd1f85
2 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
*.bkp
|
||||
aufgaben/unifi/data/
|
||||
|
|
28
aufgaben/unifi/compose.yaml
Normal file
28
aufgaben/unifi/compose.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
unifi:
|
||||
image: jacobalberty/unifi:latest
|
||||
container_name: unifi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Zurich
|
||||
- RUNAS_UID0=false
|
||||
# Uncomment to use custom UID/GID
|
||||
# - UNIFI_UID=1000
|
||||
# - UNIFI_GID=1000
|
||||
volumes:
|
||||
- ./data:/unifi
|
||||
ports:
|
||||
- "3478:3478/udp" # STUN
|
||||
- "6789:6789" # Speed test
|
||||
- "8080:8080" # Device communication
|
||||
- "8443:8443" # Web UI
|
||||
- "8843:8843" # HTTPS portal
|
||||
- "8880:8880" # HTTP portal
|
||||
- "10001:10001/udp" # Device discovery
|
||||
networks:
|
||||
- unifi_network
|
||||
|
||||
networks:
|
||||
unifi_network:
|
||||
driver: bridge
|
||||
|
Loading…
Add table
Reference in a new issue