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