fix: replace curl with wget for healthcheck commands in Docker configurations

This commit is contained in:
GitHub Actions
2026-03-13 14:13:37 +00:00
parent 88a9cdb0ff
commit 4b896c2e3c
6 changed files with 16 additions and 15 deletions

View File

@@ -47,7 +47,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-SHELL", "curl -fsS http://localhost:8080/api/v1/health || exit 1"]
test: ["CMD-SHELL", "wget -qO /dev/null http://localhost:8080/api/v1/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3