version: '3.4' services: oc-datacenter: environment: - MONGO_DATABASE=DC_myDC image: 'oc-datacenter:latest' ports: - 8092:8080 labels: - "traefik.enable=true" - "traefik.http.middlewares.datacenter.forwardauth.address=http://oc-auth:8080/oc/forward" - "traefik.http.middlewares.datacenter.forwardauth.authResponseHeaders=X-Forwarded-User" - "traefik.http.services.datacenter.loadbalancer.server.port=8080" container_name: oc-datacenter networks: - catalog networks: catalog: external: true