This commit is contained in:
mr 2024-10-30 17:11:56 +01:00
parent 10ed84079f
commit c2cb0587a2

View File

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