fix(infra): add ForwardAuth middleware labels to auth-api service in compose generator
This commit is contained in:
parent
4cf7cb2d18
commit
590a13e694
@ -111,6 +111,9 @@ services:
|
||||
- "traefik.http.routers.auth-api.entrypoints=websecure"
|
||||
- "traefik.http.routers.auth-api.tls=true"
|
||||
- "traefik.http.services.auth-api.loadbalancer.server.port=8000"
|
||||
- "traefik.http.middlewares.auth-forward.forwardauth.address=http://auth-api:8000/api/forward-auth"
|
||||
- "traefik.http.middlewares.auth-forward.forwardauth.trustForwardHeader=true"
|
||||
- "traefik.http.middlewares.auth-forward.forwardauth.authResponseHeaders=X-Forwarded-User-Id,X-Forwarded-User,X-Forwarded-Scopes,X-Forwarded-App-Id"
|
||||
expose:
|
||||
- "8000"
|
||||
depends_on:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user