MasterpieceDockerCompose/unifi-controller/docker-compose.yml

23 lines
615 B
YAML

version: "3.5"
services:
unifi:
container_name: linuxserver-unifi-controller
image: lscr.io/linuxserver/unifi-controller
security_opt:
- no-new-privileges:true
networks:
- custom-bridge
restart: unless-stopped
ports:
- ${UNIFI_STUN_PORT:-3478}:3478/udp
- ${UNIFI_WEBUI_PORT:-8080}:8080
- ${UNIFI_HTTPS_PORT:-8443}:8443
- ${UNIFI_AP_DSV_PORT:-10001}:10001/udp
env_file: .env
volumes:
- ${UNIFI_CONFIG:-/home/docker/unifi-controller/config}:/config
networks:
custom-bridge:
name: custom-bridge
driver: bridge