chore[docker]: Fix Redis health check error but display healthy (#24778)

This commit is contained in:
Hwting 2025-08-30 21:19:43 +08:00 committed by GitHub
commit d937cc491d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ services:
ports:
- "${EXPOSE_REDIS_PORT:-6379}:6379"
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
test: [ 'CMD-SHELL', 'redis-cli -a ${REDIS_PASSWORD:-difyai123456} ping | grep -q PONG' ]
# The DifySandbox
sandbox: