This commit is contained in:
Joey Hafner 2022-10-17 09:57:02 -07:00
parent a6c9051467
commit bfe1c040f8

View File

@ -25,7 +25,7 @@ services:
labels: labels:
traefik.http.routers.keycloak.rule: Host(`keycloak.jafner.net`) traefik.http.routers.keycloak.rule: Host(`keycloak.jafner.net`)
traefik.http.routers.keycloak.tls.certresolver: lets-encrypt traefik.http.routers.keycloak.tls.certresolver: lets-encrypt
#traefik.http.routers.keycloak.middlewares: lan-only@file traefik.http.routers.keycloak.middlewares: lan-only@file
traefik.http.services.keycloak.loadbalancer.server.port: 8080 traefik.http.services.keycloak.loadbalancer.server.port: 8080
forwardauth: forwardauth:
@ -45,10 +45,10 @@ services:
env_file: env_file:
- .env - .env
labels: labels:
- "traefik.enable=true" #- "traefik.enable=true"
- "traefik.docker.network=web" #- "traefik.docker.network=web"
- "traefik.http.services.forwardauth.loadbalancer.server.port=4181" #- "traefik.http.services.forwardauth.loadbalancer.server.port=4181"
- "traefik.http.routers.forwardauth.entrypoints=websecure" #- "traefik.http.routers.forwardauth.entrypoints=websecure"
- "traefik.http.routers.forwardauth.rule=Path(`/_oauth`)" - "traefik.http.routers.forwardauth.rule=Path(`/_oauth`)"
- "traefik.http.routers.forwardauth.middlewares=traefik-forward-auth" - "traefik.http.routers.forwardauth.middlewares=traefik-forward-auth"
- "traefik.http.routers.forwardauth.tls.certresolver=lets-encrypt" - "traefik.http.routers.forwardauth.tls.certresolver=lets-encrypt"