mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Merge pull request #510 from haiwen/fix_13.0_ce_redis
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled
Some checks failed
Deploy CI - 13.0 / deploy (push) Has been cancelled
fix: 13.0 ce redis password
This commit is contained in:
commit
00cabb0e43
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue