updated traefik to whatever i'm using on orgrimmar

This commit is contained in:
2025-10-10 01:38:32 +00:00
parent b4d9fe1b2b
commit 8936173df3
3 changed files with 10 additions and 11 deletions

View File

@@ -9,5 +9,5 @@ http:
homeassistant-service:
loadBalancer:
servers:
- url: "http://192.168.0.197:8123"
- url: "http://192.168.0.134:8123"
passHostHeader: true

View File

@@ -9,5 +9,5 @@ http:
pihole-service:
loadBalancer:
servers:
- url: "http://192.168.0.197:8081"
- url: "http://192.168.0.197:8082"
passHostHeader: true

View File

@@ -11,7 +11,6 @@ services:
environment:
- CLOUDFLARE_EMAIL=${CLOUDFLARE_EMAIL}
- CLOUDFLARE_DNS_API_TOKEN=${CLOUDFLARE_KEY}
- DOMAIN_ROOT=${DOMAIN_ROOT}
ports:
- mode: host
@@ -31,17 +30,17 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.traefik.rule=Host(`traefik.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.traefik.rule=Host(`traefik.orgrimmar.dudenhoeffer.casa`)'
- "traefik.http.routers.traefik.entrypoints=websecure"
- 'entrypoints.websecure.http.tls=true'
- 'entrypoints.websecure.http.tls.certResolver=letsencrypt'
- 'entrypoints.websecure.http.tls.domains[0].main=${DOMAIN_ROOT}'
- 'entrypoints.websecure.http.tls.domains[0].sans=*.${DOMAIN_ROOT}'
- 'entrypoints.websecure.http.tls.domains[0].main=orgrimmar.dudenhoeffer.casa'
- 'entrypoints.websecure.http.tls.domains[0].sans=*.orgrimmar.dudenhoeffer.casa'
- "traefik.http.routers.traefik.service=api@internal"
- 'traefik.http.routers.traefik.middlewares=strip'
- 'traefik.http.middlewares.strip.stripprefix.prefixes=/traefik'
- 'traefik.http.services.traefik.loadbalancer.server.port=8080'
- 'traefik.http.middlewares.authelia.forwardAuth.address=http://authelia:9091/api/verify?rd=https://login.${DOMAIN_ROOT}/'
- 'traefik.http.middlewares.authelia.forwardAuth.address=http://authelia:9091/api/verify?rd=https://login.orgrimmar.dudenhoeffer.casa/'
- 'traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true'
- 'traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email'
- 'certificatesresolvers.letsencrypt.acme.dnschallenge=true'
@@ -64,14 +63,14 @@ services:
- AUTHELIA_JWT_SECRET=${AUTH_JWT_SECRET}
- AUTHELIA_SESSION_SECRET=${AUTH_SESSION_SECRET}
- AUTHELIA_STORAGE_ENCRYPTION_KEY=${AUTH_STORAGE_KEY}
- DOMAIN_ROOT=${DOMAIN_ROOT}
- DOMAIN_ROOT=orgrimmar.dudenhoeffer.casa
volumes:
- authelia_config:/config
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.authelia.rule=Host(`login.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.authelia.rule=Host(`login.orgrimmar.dudenhoeffer.casa`)'
- 'traefik.http.services.authelia.loadbalancer.server.port=9091'
networks: