From 995458d035c3845030009c2f8636703fc7523ffa Mon Sep 17 00:00:00 2001 From: Bruno Parmentier Date: Thu, 22 Aug 2024 14:26:01 +0200 Subject: [PATCH] Use init when running in Docker to avoid zombie process When the `start-docker` script is executed, some process is not properly cleaned up and ends up in a zombie state. Using the `init` flag when launching the container runs an init process inside the container that will forward signals to node and reap processes. Fixes: #1428 --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 08f00b7c3c..185f1d0e66 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ services: depends_on: db: condition: service_healthy + init: true restart: always healthcheck: test: ["CMD-SHELL", "curl http://localhost:3000/api/heartbeat"]