diff --git a/server/config/authentik/docker-compose.yml b/server/config/authentik/docker-compose.yml index 220f306..3a289ca 100644 --- a/server/config/authentik/docker-compose.yml +++ b/server/config/authentik/docker-compose.yml @@ -38,10 +38,11 @@ services: server: image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.7.1} container_name: authentik_authentik - hostname: authentik networks: authentik: web: + aliases: + - authentik-server restart: unless-stopped command: server environment: diff --git a/server/config/traefik/config/middlewares.yaml b/server/config/traefik/config/middlewares.yaml index 4b21477..6def79d 100644 --- a/server/config/traefik/config/middlewares.yaml +++ b/server/config/traefik/config/middlewares.yaml @@ -10,7 +10,7 @@ http: usersFile: "/.htpasswd" authentik: forwardauth: - address: http://authentik:9000/outpost.goauthentik.io/auth/traefik + address: http://authentik-server:9000/outpost.goauthentik.io/auth/traefik trustForwardHeader: true authResponseHeaders: - X-authentik-username