Browse Source

encode only the redis_url

pull/9380/head
DarkPhoenix2704 4 months ago
parent
commit
3362dfe300
No known key found for this signature in database
GPG Key ID: 3F76B10622A07849
  1. 2
      docker-compose/setup-script/noco.sh

2
docker-compose/setup-script/noco.sh

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

Loading…
Cancel
Save