mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +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:
|
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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user