redis密码设置

This commit is contained in:
virusdefender 2016-04-28 21:07:46 +08:00
parent 28e2ea0d23
commit f314898d95
No known key found for this signature in database
GPG Key ID: 1686FB5677979E61

View File

@ -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}