fixing outpost priorety

This commit is contained in:
Kyattsukuro 2026-04-28 14:17:44 +02:00
parent 17f6ef592f
commit a83df63910

View File

@ -21,6 +21,7 @@ services:
server: server:
# Server includes embeded proxy outpost # Server includes embeded proxy outpost
command: server command: server
hostname: authentik-proxy
depends_on: depends_on:
postgresql: postgresql:
condition: service_healthy condition: service_healthy
@ -53,14 +54,14 @@ services:
traefik.http.routers.authentik.rule: "Host(`auth.urmel.de`)" traefik.http.routers.authentik.rule: "Host(`auth.urmel.de`)"
traefik.http.routers.authentik.tls: true traefik.http.routers.authentik.tls: true
traefik.http.routers.authentik.tls.certresolver: hetzner traefik.http.routers.authentik.tls.certresolver: hetzner
traefik.http.routers.authentik.priority: 10 traefik.http.routers.authentik.priority: 100000001
traefik.http.routers.authentik.service: authentik traefik.http.routers.authentik.service: authentik
traefik.http.services.authentik.loadbalancer.server.port: 9000 traefik.http.services.authentik.loadbalancer.server.port: 9000
# https://goneuland.de/authentik-in-kombination-mit-traefik/#2_Authentik_im_Stack_vorbereiten # https://goneuland.de/authentik-in-kombination-mit-traefik/#2_Authentik_im_Stack_vorbereiten
traefik.http.routers.authentik-outpost.rule: "HostRegexp(`{subdomain:[a-z0-9-]+.}urmel.de`) && PathPrefix(`/outpost.goauthentik.io/`)" traefik.http.routers.authentik-outpost.rule: "HostRegexp(`{subdomain:[a-zA-Z0-9-]+}.urmel.de`) && PathPrefix(`/outpost.goauthentik.io/`)"
traefik.http.routers.authentik-outpost.tls: true traefik.http.routers.authentik-outpost.tls: true
traefik.http.routers.authentik-outpost.priority: 15 traefik.http.routers.authentik-outpost.priority: 100000000
traefik.http.routers.authentik-outpost.service: authentik-outpost traefik.http.routers.authentik-outpost.service: authentik-outpost
traefik.http.services.authentik-outpost.loadbalancer.server.port: 9000 traefik.http.services.authentik-outpost.loadbalancer.server.port: 9000