Update Gitea service to include Authelia middleware for enhanced security

This commit is contained in:
elfateh4
2025-12-02 04:05:54 +01:00
parent a5cd34d9ab
commit 9ac7fefb3d

View File

@@ -361,7 +361,7 @@ services:
- "traefik.http.routers.gitea.rule=Host(`git.${DOMAIN_PREFIX}.${DOMAIN}`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=le"
- "traefik.http.routers.gitea.middlewares=security-headers@docker"
- "traefik.http.routers.gitea.middlewares=security-headers@docker,authelia@docker"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"]