diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 0218ee29..98b0a2e0 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -209,7 +209,7 @@ services: # Stricter health checks healthcheck: - test: ["CMD", "redis-cli", "--raw", "incr", "ping"] + test: ["CMD", "sh", "-c", "redis-cli -a $$(cat /run/secrets/redis_password 2>/dev/null || echo '') ping | grep -q PONG"] interval: 10s timeout: 3s retries: 5