We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a567d5d commit 351f4ceCopy full SHA for 351f4ce
data/conf/redis/redis-conf.sh
@@ -5,4 +5,8 @@ requirepass $REDISPASS
5
user quota_notify on nopass ~QW_* -@all +get +hget +ping
6
EOF
7
8
+if [ -n "$REDISMASTERPASS" ]; then
9
+ echo "masterauth $REDISMASTERPASS" >> /redis.conf
10
+fi
11
+
12
exec redis-server /redis.conf
docker-compose.yml
@@ -55,6 +55,7 @@ services:
55
environment:
56
- TZ=${TZ}
57
- REDISPASS=${REDISPASS}
58
+ - REDISMASTERPASS=${REDISMASTERPASS:-}
59
sysctls:
60
- net.core.somaxconn=4096
61
networks:
0 commit comments