This commit is contained in:
mr 2024-10-30 17:10:36 +01:00
parent 5167726f68
commit edb6303630

View File

@ -6,10 +6,13 @@ services:
- 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"
- "traefik.enable=true"
- "traefik.http.routers.peer.entrypoints=web"
- "traefik.http.routers.peer.rule=Host(`localhost`)"
- "traefik.routers.peer.rule=Path(/peer)"
- "traefik.http.routers.peer.tls=false"
- "traefik.http.services.peer.loadbalancer.server.port=80"
- "traefik.http.routers.peer.middlewares=auth"
ports:
- 8093:8080
container_name: oc-peer