feat: add pluton healthcheck

This commit is contained in:
cătălin 2026-05-29 14:03:30 +02:00
commit b6a024d5dc
No known key found for this signature in database

View file

@ -23,3 +23,16 @@ services:
DISABLE_EVENT_SCRIPTS: ${DISABLE_EVENT_SCRIPTS:-false}
NODE_ENV: production
IS_DOCKER: "true"
healthcheck:
test:
[
"CMD",
"sh",
"-c",
"wget --no-verbose --tries=1 --spider http://localhost:${SERVER_PORT:-5173}/api/health",
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s