Merge pull request #2890 from bparmentier/patch-1

Use init when running in Docker to avoid zombie process
This commit is contained in:
Mike Cao 2024-12-12 15:50:49 -08:00 committed by GitHub
commit 67b1c80f31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ services:
depends_on: depends_on:
db: db:
condition: service_healthy condition: service_healthy
init: true
restart: always restart: always
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"] test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]