Using init: true in docker
This commit is contained in:
@@ -108,6 +108,11 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
|
# Use tini as PID 1 to reap zombie child processes.
|
||||||
|
# Without this, grandchild processes (esbuild, cargo, etc.) spawned by
|
||||||
|
# npm/cargo during worktree setup and gate checks become zombies.
|
||||||
|
init: true
|
||||||
|
|
||||||
# Restart policy – restart on crash but not on manual stop
|
# Restart policy – restart on crash but not on manual stop
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user