chore: update healthcheck to use bun fetch instead of curl
CI / build (push) Successful in 22s

This commit is contained in:
ramvignesh-b
2026-05-12 00:57:23 +05:30
parent 2eab4b92cc
commit 7c4ef8a51c
+1 -1
View File
@@ -10,7 +10,7 @@ services:
depends_on:
- redis
healthcheck:
test: [ "CMD-SHELL", "curl -sf http://localhost:3000/health || exit 1" ]
test: [ "CMD", "bun", "-e", "fetch('http://localhost:3000/health').then(res => res.ok ? process.exit(0) : process.exit(1)).catch(e => process.exit(1))" ]
interval: 30s
timeout: 5s
retries: 3