Back to Apps
Cloudflare Tunnel

Deploy Cloudflare Tunnel on Your Own Server

Secure your web servers with a Cloudflare Tunnel. This creates an encrypted connection without exposing your server directly.

πŸ“¦ Other

Want to deploy Cloudflare Tunnel on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Cloudflare Tunnel?

This Senate 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.

Self-Host Cloudflare Tunnel

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

3

Deploy

Copy the configuration and run it on your server.

services:
  cloudflare_tunnel: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host Cloudflare Tunnel?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"