mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
Refactor Cloudflare Tunnel configuration and update prompts
- Removed the dependency on the Caddy service in docker-compose.yml for the Cloudflare Tunnel. - Updated prompts in the secret generation script to clarify that leaving the Cloudflare Tunnel Token empty will skip the input.
This commit is contained in:
@@ -296,11 +296,11 @@ if [[ -v existing_env_vars[CLOUDFLARE_TUNNEL_TOKEN] ]]; then
|
||||
else
|
||||
log_info "Found empty Cloudflare Tunnel Token in .env. You can provide one now or leave empty."
|
||||
echo ""
|
||||
read -p "Cloudflare Tunnel Token: " CLOUDFLARE_TUNNEL_TOKEN
|
||||
read -p "Cloudflare Tunnel Token (leave empty to skip): " CLOUDFLARE_TUNNEL_TOKEN
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
read -p "Cloudflare Tunnel Token: " CLOUDFLARE_TUNNEL_TOKEN
|
||||
read -p "Cloudflare Tunnel Token (leave empty to skip): " CLOUDFLARE_TUNNEL_TOKEN
|
||||
fi
|
||||
|
||||
if [ -n "$CLOUDFLARE_TUNNEL_TOKEN" ]; then
|
||||
|
||||
@@ -105,7 +105,7 @@ done
|
||||
|
||||
# Use whiptail to display the checklist
|
||||
CHOICES=$(whiptail --title "Service Selection Wizard" --checklist \
|
||||
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 20 \
|
||||
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 21 \
|
||||
"${services[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user