Healthcheck

This commit is contained in:
2026-03-23 16:40:03 +01:00
parent d3455f75bb
commit 5791a59ab9

View File

@@ -25,7 +25,11 @@ services:
- .env - .env
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD-SHELL", ""] test:
[
"CMD-SHELL",
"wget -q --spider http://localhost:${PORT:-3000}/health || exit 1",
]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5