scheduler

This commit is contained in:
mr 2024-10-30 17:09:55 +01:00
parent 07654de103
commit d7a793e991

View File

@ -7,9 +7,12 @@ services:
image: 'oc-scheduler:latest' image: 'oc-scheduler:latest'
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.middlewares.scheduler.forwardauth.address=http://oc-auth:8080/oc/forward" - "traefik.http.routers.scheduler.entrypoints=web"
- "traefik.http.middlewares.scheduler.forwardauth.authResponseHeaders=X-Forwarded-User" - "traefik.http.routers.scheduler.rule=Host(`localhost`)"
- "traefik.http.services.scheduler.loadbalancer.server.port=8080" - "traefik.routers.scheduler.rule=Path(/scheduler)"
- "traefik.http.routers.scheduler.tls=false"
- "traefik.http.services.scheduler.loadbalancer.server.port=80"
- "traefik.http.routers.scheduler.middlewares=auth"
ports: ports:
- 8090:8080 - 8090:8080
container_name: oc-scheduler container_name: oc-scheduler