oc-datacenter/docker-compose.yml
2024-11-04 14:29:11 +01:00

23 lines
644 B
YAML

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