oc-peer/docker-compose.yml
2024-11-04 14:28:38 +01:00

23 lines
602 B
YAML

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