Big progress dump

This commit is contained in:
2026-02-22 18:35:22 -05:00
parent 5def86e278
commit 1e64f8e321
9 changed files with 494 additions and 28 deletions

View File

@@ -0,0 +1,35 @@
version: "3.8"
services:
authelia:
image: authelia/authelia:latest
container_name: authelia
volumes:
- /mnt/HoardingCow_docker_data/Authelia:/config
networks:
- traefik-net
restart: unless-stopped
labels:
- "traefik.enable=true"
# HTTP router
- "traefik.http.routers.authelia-http.rule=Host(`auth.lazyworkhorse.net`)"
- "traefik.http.routers.authelia-http.entrypoints=web"
- "traefik.http.routers.authelia-http.middlewares=redirect-to-https"
# HTTPS router
- "traefik.http.routers.authelia-https.rule=Host(`auth.lazyworkhorse.net`)"
- "traefik.http.routers.authelia-https.entrypoints=websecure"
- "traefik.http.routers.authelia-https.tls=true"
- "traefik.http.routers.authelia-https.tls.certresolver=njalla"
- "traefik.http.services.authelia.loadbalancer.server.port=9091"
# forward auth middleware definition
- "traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.lazyworkhorse.net"
- "traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email"
networks:
traefik-net:
external: true