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