Fix healthcheck to use curl instead of wget for Alpine compatibility

This commit is contained in:
Hördle Bot
2025-11-22 16:57:43 +01:00
parent 9a072061a1
commit 21b53a692b

View File

@@ -19,7 +19,7 @@ services:
- ./data:/app/data - ./data:/app/data
- ./public/uploads:/app/public/uploads - ./public/uploads:/app/public/uploads
healthcheck: healthcheck:
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/daily" ] test: [ "CMD", "curl", "-f", "http://localhost:3000/api/daily" ]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3