This commit is contained in:
mr 2024-10-30 17:09:17 +01:00
parent d34a960c96
commit 863b413258

View File

@ -9,10 +9,13 @@ services:
- 8091:8080
container_name: oc-shared
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.shared.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.shared.forwardauth.authResponseHeaders=X-Forwarded-User"
- "traefik.http.services.shared.loadbalancer.server.port=8080"
- "traefik.enable=true"
- "traefik.http.routers.shared.entrypoints=web"
- "traefik.http.routers.shared.rule=Host(`localhost`)"
- "traefik.routers.shared.rule=Path(/shared)"
- "traefik.http.routers.shared.tls=false"
- "traefik.http.services.shared.loadbalancer.server.port=80"
- "traefik.http.routers.shared.middlewares=auth"
networks:
- catalog