fix: 13.0 ce redis password

This commit is contained in:
Junxiang Huang 2025-04-25 11:22:38 +08:00
parent e282a0920b
commit e8c5d3c09b

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