encode only the redis_url

This commit is contained in:
DarkPhoenix2704
2024-08-29 17:41:26 +05:30
parent 58850d0888
commit 3362dfe300

View File

@@ -705,7 +705,7 @@ EOF
if [ "${CONFIG_REDIS_ENABLED}" = "Y" ]; then
cat >> "$env_file" <<EOF
REDIS_PASSWORD=${ENCODED_REDIS_PASSWORD}
REDIS_PASSWORD=${CONFIG_REDIS_PASSWORD}
NC_REDIS_URL=redis://:${ENCODED_REDIS_PASSWORD}@redis:6379/0
EOF
fi