fix: handle redis authentication for healthcheck command (#10907)

This commit is contained in:
shisaru292
2024-11-20 20:10:51 +08:00
committed by GitHub
parent 99b0369f1b
commit b42b333a72
4 changed files with 9 additions and 4 deletions

View File

@@ -366,6 +366,8 @@ services:
redis:
image: redis:6-alpine
restart: always
environment:
REDISCLI_AUTH: ${REDIS_PASSWORD:-difyai123456}
volumes:
# Mount the redis data directory to the container.
- ./volumes/redis/data:/data