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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user