fix(docker): use curl-compatible flags in healthcheck commands

The Alpine→Debian migration changed wget to curl but kept wget-specific
flags (--no-verbose, --tries=1, --spider) which don't work with curl.

Changed to: curl -fsS (fail on error, silent, show errors)

Fixed in:
- docker-compose.yml
- docker-compose.e2e.yml
- docker-compose.local.yml

docker-compose.playwright.yml already had correct syntax.
This commit is contained in:
GitHub Actions
2026-01-24 23:15:09 +00:00
parent 2edd3de9a0
commit 667ccd36d2
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ services:
# - <PATH_TO_YOUR_CADDYFILE>:/import/Caddyfile:ro
# - <PATH_TO_YOUR_SITES_DIR>:/import/sites:ro # If your Caddyfile imports other files
healthcheck:
test: ["CMD", "curl", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"]
test: ["CMD-SHELL", "curl -fsS http://localhost:8080/api/v1/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3