version: '3.4' services: oc-peer: environment: - MONGO_DATABASE=DC_myDC image: 'oc-peer:latest' labels: - "traefik.enable=true" - "traefik.http.routers.peer.entrypoints=web" - "traefik.http.routers.peer.rule=Host(`localhost`)" - "traefik.routers.peer.rule=Path(/peer)" - "traefik.http.routers.peer.tls=false" - "traefik.http.services.peer.loadbalancer.server.port=80" - "traefik.http.routers.peer.middlewares=auth" ports: - 8093:8080 container_name: oc-peer networks: - catalog networks: catalog: external: true