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:
Yury Kossakovsky
2025-08-21 18:10:43 -06:00
parent 339b5756f4
commit b56e11ee83
3 changed files with 3 additions and 5 deletions

View File

@@ -244,8 +244,6 @@ services:
command: tunnel --no-autoupdate run
environment:
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
depends_on:
- caddy
logging:
driver: "json-file"
options:

View File

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

View File

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