perf: Add Redis Health Check (#4707)

* Update docker.md

Fix a document error

* Update docker.md

* Update docker-compose-milvus.yml

1.Redis Health Check

* Update docker-compose-pgvector.yml

1.Redis Health Check

* Update docker-compose-zilliz.yml

1.Redis Health Check
This commit is contained in:
Hwting
2025-04-29 10:05:00 +08:00
committed by GitHub
parent d2a32c363d
commit 14ad6aef41
3 changed files with 18 additions and 0 deletions

View File

@@ -120,6 +120,12 @@ services:
restart: always
command: |
redis-server --requirepass mypassword --loglevel warning --maxclients 10000 --appendonly yes --save 60 10 --maxmemory 4gb --maxmemory-policy noeviction
healthcheck:
test: [ "CMD", "redis-cli", "-a", "mypassword", "ping" ]
interval: 10s
timeout: 3s
retries: 3
start_period: 30s
volumes:
- ./redis/data:/data