version: '3.4' services: oc-datacenter: environment: - MONGO_DATABASE=DC_myDC image: 'oc-datacenter:latest' ports: - 8092:8080 labels: - "traefik.enable=true" - "traefik.http.routers.datacenter.entrypoints=web" - "traefik.http.middlewares.auth.forwardauth.address=http://oc-auth:8080/oc/forward" - "traefik.http.routers.workflow.rule=PathPrefix(/datacenter)" - "traefik.http.routers.datacenter.tls=false" - "traefik.http.routers.datacenter.middlewares=auth" container_name: oc-datacenter networks: - catalog networks: catalog: external: true