mirror of
https://github.com/tryzealot/zealot-docker.git
synced 2026-02-24 09:13:16 +00:00
fix: .env file missing REDIS_URL
This commit is contained in:
@@ -7,7 +7,7 @@ else
|
||||
cp -n "${EXAMPLE_ENV_FILE}" "${ENV_FILE}"
|
||||
fi
|
||||
|
||||
if [ "${REDIS_ENABLED_LEGACY:-0}" == 1 && grep 'REDIS_URL=' $ENV_FILE ]; then
|
||||
if [ "${REDIS_ENABLED_LEGACY:-0}" == 1 ] && ! grep -q "REDIS_URL" $ENV_FILE; then
|
||||
echo "" >> $ENV_FILE
|
||||
echo "# The full Redis URL for the Redis cache." >> $ENV_FILE
|
||||
echo "REDIS_URL=redis://redis:6379/0" >> $ENV_FILE
|
||||
|
||||
Reference in New Issue
Block a user