From ee58f7a085bd0123e710be7fd2dae1b4b01346c9 Mon Sep 17 00:00:00 2001 From: asmit990 Date: Sun, 7 Dec 2025 02:08:57 +0530 Subject: [PATCH] Fix zombie process caused by auto-setup.sh by running temporal container with tini entrypoint --- docker-compose-postgres.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose-postgres.yml b/docker-compose-postgres.yml index 051bd214..0ddb27bb 100644 --- a/docker-compose-postgres.yml +++ b/docker-compose-postgres.yml @@ -12,6 +12,7 @@ services: - 5432:5432 volumes: - /var/lib/postgresql/data + temporal: container_name: temporal depends_on: @@ -26,12 +27,14 @@ services: - TEMPORAL_ADDRESS=temporal:7233 - TEMPORAL_CLI_ADDRESS=temporal:7233 image: temporalio/auto-setup:${TEMPORAL_VERSION} + entrypoint: ["tini", "--", "/auto-setup.sh"] # <-- FIX networks: - temporal-network ports: - 7233:7233 volumes: - ./dynamicconfig:/etc/temporal/config/dynamicconfig + temporal-admin-tools: container_name: temporal-admin-tools depends_on: @@ -44,6 +47,7 @@ services: - temporal-network stdin_open: true tty: true + temporal-ui: container_name: temporal-ui depends_on: @@ -56,6 +60,7 @@ services: - temporal-network ports: - 8080:8080 + networks: temporal-network: driver: bridge