From 2c0076c6a6357ba24088c842926f59057e7d6d73 Mon Sep 17 00:00:00 2001 From: Micha Date: Fri, 29 May 2026 15:14:27 +0200 Subject: [PATCH] Fix vaultwarden + authelia healthcheck commands Vaultwarden image ships curl, not wget. Switched the CMD-SHELL test from wget --spider to curl -fsS. Authelia 4.39.x removed the "helper health-check" subcommand; use the /api/health endpoint via wget instead (verified inside the running container). Co-Authored-By: Claude Opus 4.7 --- security/authelia/docker-compose.yml | 4 +++- security/vaultwarden/docker-compose.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/security/authelia/docker-compose.yml b/security/authelia/docker-compose.yml index a535c5b..df6bae0 100644 --- a/security/authelia/docker-compose.yml +++ b/security/authelia/docker-compose.yml @@ -27,7 +27,9 @@ services: security_opt: - no-new-privileges:true healthcheck: - test: ["CMD", "authelia", "helper", "health-check"] + # authelia 4.39.x removed the "helper health-check" subcommand; + # use the /api/health endpoint via the image-provided wget instead. + test: ["CMD-SHELL", "wget -q --spider http://localhost:9091/api/health || exit 1"] interval: 30s timeout: 5s retries: 5 diff --git a/security/vaultwarden/docker-compose.yml b/security/vaultwarden/docker-compose.yml index 94dbc3b..f19127b 100644 --- a/security/vaultwarden/docker-compose.yml +++ b/security/vaultwarden/docker-compose.yml @@ -25,7 +25,8 @@ services: - no-new-privileges:true healthcheck: - test: ["CMD-SHELL", "wget -q --spider http://localhost:80/alive || exit 1"] + # vaultwarden image ships curl, not wget + test: ["CMD-SHELL", "curl -fsS http://localhost:80/alive || exit 1"] interval: 30s timeout: 5s retries: 5