Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
Update start.sh
  • Loading branch information
sagararyal committed Nov 18, 2024
1 parent 282c371 commit 6ffddda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ then
export QUEUE_BULL_REDIS_HOST=$N8N_REDIS_HOST
export QUEUE_BULL_REDIS_PORT=$N8N_REDIS_PORT
export QUEUE_BULL_REDIS_PASSWORD=$N8N_REDIS_PASSWORD

# Check if URL starts with rediss://
if [ "${N8N_REDIS_SCHEME}" = "rediss" ]; then
export QUEUE_BULL_REDIS_TLS=true
echo "Redis connection over TLS detected, setting QUEUE_BULL_REDIS_TLS=true"
fi
fi

# kickstart nodemation
Expand Down

0 comments on commit 6ffddda

Please sign in to comment.