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
commit b42b333a72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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