Authentik

This commit is contained in:
2026-02-07 01:33:25 +08:00
parent 7876a242cb
commit c2073dfafb
5 changed files with 130 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ services:
- "traefik.enable=true"
# Dashboard router
- "traefik.http.routers.traefik.rule=Host(`traefik.apps.dua.casa`)"
- "traefik.http.routers.traefik.rule=Host(`traefik.dua.casa`)"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.tls=true"
@@ -101,7 +101,7 @@ services:
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
# CERT router
- "traefik.http.routers.cert.rule=HostRegexp(`{subdomain:.+}.apps.dua.casa`)"
- "traefik.http.routers.cert.rule=HostRegexp(`{subdomain:.+}.dua.casa`)"
- "traefik.http.routers.cert.entrypoints=websecure"
- "traefik.http.routers.cert.service=noop@internal"
- "traefik.http.routers.cert.tls=true"
@@ -115,7 +115,7 @@ services:
- homepage.href=https://traefik.dua.casa
- homepage.description=A modern HTTP reverse proxy and load balancer that makes deploying microservices easy.
- homepage.widget.type=traefik
- homepage.widget.url=https://traefik.apps.dua.casa
- homepage.widget.url=https://traefik.dua.casa
- homepage.widget.username=admin
- homepage.widget.password=bykWvHAaQTDy0ts4ZpUAXoT9ztCNmsKg
@@ -129,7 +129,7 @@ services:
# Enable Service discovery for Traefik
- "traefik.enable=true"
# Define the WHoami router rule
- "traefik.http.routers.whoami.rule=Host(`whoami.apps.dua.casa`)"
- "traefik.http.routers.whoami.rule=Host(`whoami.dua.casa`)"
# Expose Whoami on the HTTPS entrypoint
- "traefik.http.routers.whoami.entrypoints=websecure"
# Enable TLS