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

@@ -365,7 +365,7 @@ echo "Caddy started (PID: $CADDY_PID)"
echo "Waiting for Caddy admin API..."
i=1
while [ "$i" -le 30 ]; do
if curl -sf http://127.0.0.1:2019/config/ > /dev/null 2>&1; then
if wget -qO /dev/null http://127.0.0.1:2019/config/ 2>/dev/null; then
echo "Caddy is ready!"
break
fi