Update versions.json
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 35s

This commit is contained in:
Your Name
2025-09-06 14:17:56 +12:00
parent 20a3790834
commit 8e6b00bfee
12 changed files with 564 additions and 0 deletions

26
cloudflare-tunnel/destroy.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "CONTAINER_NAME"
echo "WARNING: This will completely remove the Cloudflare Tunnel container."
echo "The tunnel configuration in Cloudflare dashboard will remain."
echo ""
read -p "Are you sure you want to destroy the Cloudflare Tunnel? (yes/no): " confirm
if [ "$confirm" != "yes" ]; then
echo "Destruction cancelled"
exit 0
fi
# Stop and remove the container
bash ./uninstall.sh
echo ""
echo "Cloudflare Tunnel has been destroyed."
echo ""
echo "To remove the tunnel from Cloudflare completely:"
echo "1. Go to: https://one.dash.cloudflare.com/"
echo "2. Navigate to: Zero Trust -> Access -> Tunnels"
echo "3. Find your tunnel and click the three dots menu"
echo "4. Select 'Delete'"