21 lines
562 B
YAML
21 lines
562 B
YAML
version: '3.4'
|
|
|
|
services:
|
|
oc-workspace:
|
|
environment:
|
|
- MONGO_DATABASE=DC_myDC
|
|
image: 'oc-workspace:latest'
|
|
ports:
|
|
- 8089:8080
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.middlewares.workspace.forwardauth.address=http://oc-auth:8080/oc/forward"
|
|
- "traefik.http.middlewares.workspace.forwardauth.authResponseHeaders=X-Forwarded-User"
|
|
- "traefik.http.services.workspace.loadbalancer.server.port=8080"
|
|
container_name: oc-workspace
|
|
networks:
|
|
- catalog
|
|
|
|
networks:
|
|
catalog:
|
|
external: true |