mirror of
https://github.com/QingdaoU/OpenVJ.git
synced 2024-12-28 15:31:48 +00:00
redis密码设置
This commit is contained in:
parent
28e2ea0d23
commit
f314898d95
@ -5,13 +5,9 @@ redis:
|
||||
ports:
|
||||
- "0.0.0.0:3306:3306"
|
||||
command:
|
||||
- redis-server
|
||||
- /usr/local/etc/redis/redis.conf
|
||||
- --requirepass $REDIS_PASSWORD
|
||||
- redis-server --requirepass {VERY_IMPORTANT_PLEASE_CHANGE_THIS_PASSWORD}
|
||||
environment:
|
||||
- robot_env=server
|
||||
# Please change this password to a long random string!!!
|
||||
- REDIS_PASSWORD=
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
@ -31,4 +27,5 @@ openvj_server:
|
||||
- "127.0.0.1:8090:8080"
|
||||
environment:
|
||||
- vj_env=server
|
||||
- MYSQL_ENV_MYSQL_USER=root
|
||||
- MYSQL_ENV_MYSQL_USER=root
|
||||
- REDIS_PASSWORD={REDIS_PASSWORD}
|
Loading…
Reference in New Issue
Block a user