diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f3d068a0..e487dd3a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -108,6 +108,14 @@ services: retries: 3 start_period: 10s + # Log rotation – test output goes to stdout via Stdio::inherit, + # so container logs grow fast without rotation. + logging: + driver: json-file + options: + max-size: "50m" + max-file: "3" + # 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.