Optimized health check

This commit is contained in:
quotschmacher 2026-01-15 01:23:56 +01:00
parent 8db8659664
commit 9a3fb5d3ba

View file

@ -10,8 +10,8 @@ services:
- "8080:80" - "8080:80"
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "wget", "--spider", "--quiet", "http://localhost/"] test: ["CMD-SHELL", "wget --spider --quiet http://127.0.0.1:80/ || exit 1"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
start_period: 5s start_period: 20s