v4ersion: "3.2" services: mongodb: image: docker.io/mongo:4.0 volumes: - /docker/unifi_mongodb/db:/data/db controller: image: registry.lubiland.de/unifi-controller volumes: - /docker/unifi_controller/unifi/data:/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