feat: try to fix traefik issue

This commit is contained in:
2025-12-19 17:32:34 +00:00
parent 36da7e45a3
commit 4d40d3facb

View File

@@ -35,7 +35,7 @@ services:
- authentik_internal - authentik_internal
server: server:
image: ghcr.io/goauthentik/server:latest image: ghcr.io/goauthentik/server:2024.12.0
container_name: authentik-server container_name: authentik-server
restart: unless-stopped restart: unless-stopped
command: server command: server
@@ -56,6 +56,7 @@ services:
labels: labels:
# Traefik # Traefik
traefik.enable: "true" traefik.enable: "true"
traefik.docker.network: "traefik_public"
traefik.http.routers.authentik.rule: "Host(`auth.${DOMAIN}`)" traefik.http.routers.authentik.rule: "Host(`auth.${DOMAIN}`)"
traefik.http.routers.authentik.entrypoints: "https" traefik.http.routers.authentik.entrypoints: "https"
traefik.http.routers.authentik.tls.certresolver: "cloudflare" traefik.http.routers.authentik.tls.certresolver: "cloudflare"
@@ -68,7 +69,7 @@ services:
homepage.description: "Identity Provider" homepage.description: "Identity Provider"
worker: worker:
image: ghcr.io/goauthentik/server:latest image: ghcr.io/goauthentik/server:2024.12.0
container_name: authentik-worker container_name: authentik-worker
restart: unless-stopped restart: unless-stopped
command: worker command: worker