From 31c37eea0760e77f2bcba4c4cf21ed59c691e9fb Mon Sep 17 00:00:00 2001 From: Simon Hammes Date: Mon, 6 Jul 2026 16:24:25 +0200 Subject: [PATCH] Fix Redis signal handling exec ensures that signals such as SIGTERM (sent by Docker) are properly forwarded to the Redis process. Without this, Redis will never receive the signal and will only stop itself upon receiving a SIGKILL. This change speeds up "docker compose down" and ensures a clean shutdown of the Redis instance. --- compose/seatable-server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/seatable-server.yml b/compose/seatable-server.yml index e20ba94..60000cb 100644 --- a/compose/seatable-server.yml +++ b/compose/seatable-server.yml @@ -156,7 +156,7 @@ services: command: - /bin/sh - -c - - redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}" --maxmemory "${REDIS_MAX_MEMORY:-500mb}" --maxmemory-policy allkeys-lru + - exec redis-server --requirepass "$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}" --maxmemory "${REDIS_MAX_MEMORY:-500mb}" --maxmemory-policy allkeys-lru networks: - backend-seatable-net healthcheck: