datacenter

This commit is contained in:
mr 2024-10-30 17:11:16 +01:00
parent 82e8ae901c
commit bc9e99f094

View File

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