Rename oauth2_proxy docker service to oauth2-proxy

This commit is contained in:
djuarezgf 2024-03-18 12:12:16 +01:00
parent ff06782234
commit 349027e969
1 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ services:
traefik: traefik:
labels: labels:
- "traefik.http.middlewares.oidcAuth.forwardAuth.address=http://oauth2_proxy:4180/" - "traefik.http.middlewares.oidcAuth.forwardAuth.address=http://oauth2-proxy:4180/"
- "traefik.http.middlewares.oidcAuth.forwardAuth.trustForwardHeader=true" - "traefik.http.middlewares.oidcAuth.forwardAuth.trustForwardHeader=true"
- "traefik.http.middlewares.oidcAuth.forwardAuth.authResponseHeaders=X-Auth-Request-Access-Token,Authorization" - "traefik.http.middlewares.oidcAuth.forwardAuth.authResponseHeaders=X-Auth-Request-Access-Token,Authorization"
networks: networks:
@ -118,9 +118,9 @@ services:
# TODO: Allow users of group /DataSHIELD and OIDC_USER_GROUP at the same time: # TODO: Allow users of group /DataSHIELD and OIDC_USER_GROUP at the same time:
# Maybe a solution would be (https://oauth2-proxy.github.io/oauth2-proxy/configuration/oauth_provider): # Maybe a solution would be (https://oauth2-proxy.github.io/oauth2-proxy/configuration/oauth_provider):
# --allowed-groups=/DataSHIELD,OIDC_USER_GROUP # --allowed-groups=/DataSHIELD,OIDC_USER_GROUP
oauth2_proxy: oauth2-proxy:
image: docker.verbis.dkfz.de/cache/oauth2-proxy/oauth2-proxy:latest image: docker.verbis.dkfz.de/cache/oauth2-proxy/oauth2-proxy:latest
container_name: bridgehead_oauth2_proxy container_name: bridgehead-oauth2proxy
command: >- command: >-
--allowed-group=DataSHIELD --allowed-group=DataSHIELD
--oidc-groups-claim=${OIDC_GROUP_CLAIM} --oidc-groups-claim=${OIDC_GROUP_CLAIM}