@@ -54,6 +54,8 @@ services:
5454 volumes :
5555 - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/media:/media
5656 - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/authentik/custom-templates:/templates
57+ ports :
58+ - 9000
5759 expose :
5860 - 9000
5961 - 9443
@@ -65,14 +67,14 @@ services:
6567 networks :
6668 - proxy
6769 - authentik-internal
68- labels :
69- - traefik.enable=true
70- - traefik.http.routers.authentik.rule=Host(`authentik.example.com`) || HostRegexp(`{subdomain:[A-Za-z0-9](?:[A-Za-z0-9\-]{0,61}[A-Za-z0-9])?}.example.com`) && PathPrefix(`/outpost.goauthentik.io/`)
71- - traefik.http.services.authentik.loadbalancer.server.port=9000
72- - traefik.docker.network=proxy
73- - traefik.http.middlewares.authentik.forwardauth.address=http://authentik-proxy:9000/outpost.goauthentik.io/auth/traefik
74- - traefik.http.middlewares.authentik.forwardauth.trustForwardHeader=true
75- - traefik.http.middlewares.authentik.forwardauth.authResponseHeaders=X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid,X-authentik-jwt,X-authentik-meta-jwks,X-authentik-meta-outpost,X-authentik-meta-provider,X-authentik-meta-app,X-authentik-meta-version
70+ # labels:
71+ # - traefik.enable=true
72+ # - traefik.http.routers.authentik.rule=Host(`authentik.example.com`) || HostRegexp(`{subdomain:[A-Za-z0-9](?:[A-Za-z0-9\-]{0,61}[A-Za-z0-9])?}.example.com`) && PathPrefix(`/outpost.goauthentik.io/`)
73+ # - traefik.http.services.authentik.loadbalancer.server.port=9000
74+ # - traefik.docker.network=proxy
75+ # - traefik.http.middlewares.authentik.forwardauth.address=http://authentik-proxy:9000/outpost.goauthentik.io/auth/traefik
76+ # - traefik.http.middlewares.authentik.forwardauth.trustForwardHeader=true
77+ # - traefik.http.middlewares.authentik.forwardauth.authResponseHeaders=X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid,X-authentik-jwt,X-authentik-meta-jwks,X-authentik-meta-outpost,X-authentik-meta-provider,X-authentik-meta-app,X-authentik-meta-version
7678
7779 worker :
7880 image : ghcr.io/goauthentik/server:${AUTHENTIK_VERSION:-2024.8}
0 commit comments