updated the healthcheck

This commit is contained in:
2026-05-09 11:06:09 -07:00
parent 7ffda53953
commit 6331ca9b53
+1 -1
View File
@@ -14,7 +14,7 @@ services:
db:
condition: service_healthy
healthcheck:
test: ["CMD", "node", "/app/healthcheck.js"]
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/api/ping', (r) => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
interval: 30s
timeout: 10s
retries: 3