deploy: use node for healthcheck
Déploiement Frontend BETA / Lint et tests (push) Successful in 2m2s
Déploiement Frontend BETA / Déploiement beta (push) Successful in 1m29s

This commit is contained in:
2026-05-15 22:15:47 +04:00
parent 66d8ed1e00
commit 55bf77ca0e
+1 -1
View File
@@ -12,7 +12,7 @@ services:
env_file: .env
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:4000"]
test: ["CMD-SHELL", "node -e \"require('http').get('http://localhost:4000',r=>process.exit(r.statusCode<400?0:1)).on('error',()=>process.exit(1))\""]
interval: 10s
timeout: 5s
retries: 12