From 7c4ef8a51c685ce0d8a3ebd875e24b6f674284a2 Mon Sep 17 00:00:00 2001 From: ramvignesh-b Date: Tue, 12 May 2026 00:57:23 +0530 Subject: [PATCH] chore: update healthcheck to use bun fetch instead of curl --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9f0d0ab..daf65bf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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