Fix typo REDIS_REQUIRE_PASS

This commit is contained in:
Edi Septriyanto
2021-07-09 01:24:52 +07:00
parent e82449282e
commit be24b5afd8

View File

@@ -171,7 +171,7 @@ maxmemory-policy allkeys-lru
EOL
# Is Redis password protected enable?
if "${REDIS_REQUIREPASS}"; then
if "${REDIS_REQUIRE_PASS}"; then
echo "Redis Requirepass is enabled..."
REDIS_PASSWORD=${REDIS_PASSWORD:-$(openssl rand -base64 64 | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)}