version: "3.2" services: mongodb: image: mongo volumes: - /docker/unifi_mongodb/db:/data/db controller: image: registry.lubiland.de/unifi-controller volumes: - /docker/unifi_controller/data:/opt/UniFi/data ports: - target: 8080 published: 8080 protocol: tcp mode: ingress - target: 8443 published: 8443 protocol: tcp mode: ingress - target: 3478 published: 3478 protocol: udp mode: ingress depends_on: - mongodb