homeserver/docker-compose/unifi-controller/docker-compose.yml.j2
mg f8a6df6a69 docker-compose: env (#493)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #493
2023-04-06 19:53:27 +02:00

28 lines
916 B
Django/Jinja

---
version: "2.1"
services:
unifi-controller:
image: ghcr.io/linuxserver/unifi-controller
container_name: unifi-controller
environment:
PUID: 1000
PGID: 1000
volumes:
- data:/config
ports:
- 3478:3478/udp #Unifi STUN port
- 10001:10001/udp #Required for AP discovery
- 8080:8080 #Required for device communication
- 8443:8443 #Unifi web admin port
- 1900:1900/udp #optional, Required for Make controller discoverable on L2 network option
- 8843:8843 #optional, Unifi guest portal HTTPS redirect port
- 8880:8880 #optional, Unifi guest portal HTTP redirect port
- 6789:6789 #optional, For mobile throughput test
- 5514:5514/udp #optional
restart: always
labels:
- com.centurylinklabs.watchtower.enable=false
- com.centurylinklabs.watchtower.monitor-only=true
######## Volumes ########
volumes:
data: