[Redis] Add support for masterauth via env var

This commit is contained in:
FreddleSpl0it committed 2025-02-18 11:16:06 +01:00
1 parent a567d5dc31
commit 351f4ce787
2 files changed
+5

No files matched your search

+4
View File
@@ -5,4 +5,8 @@ requirepass $REDISPASS
user quota_notify on nopass ~QW_* -@all +get +hget +ping
EOF
if [ -n "$REDISMASTERPASS" ]; then
echo "masterauth $REDISMASTERPASS" >> /redis.conf
fi
exec redis-server /redis.conf