2021-06-03 09:54:35 +02:00
|
|
|
version: "3.5"
|
2021-05-21 12:55:29 +02:00
|
|
|
services:
|
|
|
|
unifi:
|
|
|
|
container_name: linuxserver-unifi
|
|
|
|
image: ghcr.io/linuxserver/unifi-controller
|
2021-06-10 09:56:26 +02:00
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
2021-06-03 09:54:35 +02:00
|
|
|
networks:
|
|
|
|
- custom-bridge
|
2021-05-21 12:55:29 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2021-06-14 09:09:17 +02:00
|
|
|
- ${UNIFI_STUN_PORT:-3478}:3478/udp
|
2021-05-21 12:55:29 +02:00
|
|
|
- ${UNIFI_WEBUI_PORT:-8080}:8080
|
|
|
|
- ${UNIFI_HTTPS_PORT:-8443}:8443
|
2021-06-14 09:09:17 +02:00
|
|
|
- ${UNIFI_AP_DSV_PORT:-10001}:10001/udp
|
2021-05-21 12:55:29 +02:00
|
|
|
env_file: .env
|
|
|
|
volumes:
|
2021-06-03 09:54:35 +02:00
|
|
|
- ${UNIFI_CONFIG:-/home/docker/unifi/config}:/config
|
|
|
|
|
|
|
|
networks:
|
|
|
|
custom-bridge:
|
|
|
|
name: custom-bridge
|
|
|
|
driver: bridge
|