Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cloudflare tunnel #1084

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions public/v4/apps/cloudflare-tunnel.yml
Original file line number Diff line number Diff line change
@@ -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'
Binary file added public/v4/logos/cloudflare-tunnel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading