mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-09-30 03:57:22 +02:00
Comment out Traefik labels in docker-compose.yml
Comment out Traefik labels for configuration clarity.
This commit is contained in:
@@ -68,7 +68,10 @@ services:
|
|||||||
- authentik-internal
|
- authentik-internal
|
||||||
#labels:
|
#labels:
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
|
# traefik v2
|
||||||
# - 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/`)
|
# - 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/`)
|
||||||
|
# traefik v3
|
||||||
|
# - traefik.http.routers.authentik.rule=Host(`authentik.example.com`) || (Host(`*.example.com`) && PathPrefix(`/outpost.goauthentik.io/`))
|
||||||
# - traefik.http.services.authentik.loadbalancer.server.port=9000
|
# - traefik.http.services.authentik.loadbalancer.server.port=9000
|
||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# - traefik.http.middlewares.authentik.forwardauth.address=http://authentik-proxy:9000/outpost.goauthentik.io/auth/traefik
|
# - traefik.http.middlewares.authentik.forwardauth.address=http://authentik-proxy:9000/outpost.goauthentik.io/auth/traefik
|
||||||
|
|||||||
Reference in New Issue
Block a user