Fix(docker-compose)Update docker-compose-base.yml (#8650)
### What problem does this PR solve? 1.Optimize Redis Health Check ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
9fbb36ca40
commit
b382b63f9a
1 changed files with 6 additions and 0 deletions
|
|
@ -194,6 +194,12 @@ services:
|
|||
networks:
|
||||
- ragflow
|
||||
restart: on-failure
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue