From 7da64ff3165eb0c903a01eef748512fcf8781e05 Mon Sep 17 00:00:00 2001 From: Micha Date: Fri, 29 May 2026 15:09:51 +0200 Subject: [PATCH] Add healthcheck to Authelia (authelia helper health-check) Authelia ships its own health-check binary subcommand since 4.37+. Avoids needing wget/curl in the container. Co-Authored-By: Claude Opus 4.7 --- security/authelia/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/security/authelia/docker-compose.yml b/security/authelia/docker-compose.yml index 55c0c96..a535c5b 100644 --- a/security/authelia/docker-compose.yml +++ b/security/authelia/docker-compose.yml @@ -26,6 +26,12 @@ services: - backend_net security_opt: - no-new-privileges:true + healthcheck: + test: ["CMD", "authelia", "helper", "health-check"] + interval: 30s + timeout: 5s + retries: 5 + start_period: 30s labels: - "traefik.enable=true" - "traefik.docker.network=frontend_net"