diff --git a/docker-compose.yml b/docker-compose.yml index 479e0c6f..e11720f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -61,7 +61,7 @@ services: volumes: - ${REDIS_DATA}:/data healthcheck: - test: ["CMD", "redis-cli", "ping"] + test: ["CMD-SHELL", "(redis-cli --raw incr ping) && (redis-cli ping | grep -q PONG)"] interval: 1m timeout: 10s retries: 3