mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-27 10:36:19 +01:00
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
This commit is contained in:
parent
b006747a45
commit
995458d035
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user