oc-peer/docker-compose.yml
2024-10-30 10:47:38 +01:00

21 lines
532 B
YAML

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