Merge pull request #510 from haiwen/fix_13.0_ce_redis
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled

fix: 13.0 ce redis password
This commit is contained in:
Huang Junxiang 2025-04-25 11:23:12 +08:00 committed by GitHub
commit 00cabb0e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,10 +27,12 @@ services:
redis:
image: ${SEAFILE_REDIS_IMAGE:-redis}
container_name: seafile-redis
#command:
# - /bin/sh
# - -c
# - redis-server --requirepass "$${REDIS_PASSWORD:?Variable is not set or empty}"
command:
- /bin/sh
- -c
- redis-server --requirepass "$$REDIS_PASSWORD"
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD:-}
networks:
- seafile-net