FIX: Healthcheck should work now

This commit is contained in:
2025-08-29 11:51:37 +02:00
parent 3854dc32d6
commit 467a72c5c6

View File

@@ -11,10 +11,11 @@ services:
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000"] test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/api/healthcheck || exit 1"]
interval: 30s interval: 10s
timeout: 10s timeout: 3s
retries: 3 retries: 3
start_period: 20s
networks: networks:
- homepage-net - homepage-net