mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue