summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/cloudflare-tunnel.yml
diff options
context:
space:
mode:
Diffstat (limited to 'public/v4/apps/cloudflare-tunnel.yml')
-rw-r--r--public/v4/apps/cloudflare-tunnel.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/public/v4/apps/cloudflare-tunnel.yml b/public/v4/apps/cloudflare-tunnel.yml
new file mode 100644
index 0000000..e693201
--- /dev/null
+++ b/public/v4/apps/cloudflare-tunnel.yml
@@ -0,0 +1,29 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ dockerfileLines:
+ - FROM cloudflare/cloudflared:$$cap_cloudflared_version
+ - ENTRYPOINT ["cloudflared"]
+ - CMD ["tunnel", "--no-autoupdate", "run", "--token", "$$cap_cloudflared_token"]
+ restart: always
+caproverOneClickApp:
+ variables:
+ - id: $$cap_cloudflared_token
+ label: Cloudflare Tunnel Token
+ defaultValue: ''
+ description: 'Your Cloudflare tunnel token. This is required to authenticate the tunnel with Cloudflare.'
+ - id: $$cap_cloudflared_version
+ label: Cloudflare Cloudflared Version
+ defaultValue: '1517-bb29a0e19437'
+ description: 'The version of Cloudflare Cloudflared to use.'
+ instructions:
+ start: >-
+ This CapRover app deploys a Cloudflare tunnel, allowing you to securely expose your services to the internet. Make sure to provide the Cloudflare Tunnel Token when you deploy this app.
+ end: >-
+ The Cloudflare tunnel is now running. Configure your Cloudflare DNS to point to this tunnel for secure, encrypted traffic. This setup ensures your applications are accessible through Cloudflare's network.
+ displayName: 'Cloudflare Tunnel'
+ isOfficial: true
+ description: 'Secure your web servers with a Cloudflare Tunnel. This creates an encrypted connection without exposing your server directly.'
+ documentation: 'For more information on Cloudflared and how to use it, visit: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps'