diff --git a/docker-compose.yml b/docker-compose.yml index b89dcfe..91acafe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,11 @@ services: - redis:/data ports: - "127.0.0.1:6379:6379" + healthcheck: + test: redis-cli ping + interval: 30s + timeout: 5s + retries: 2 user: "999:1000" read_only: true security_opt: