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 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 15:14:27 +02:00
parent 7da64ff316
commit 2c0076c6a6
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -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
+2 -1
View File
@@ -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