Back to catalog
Cloudflared logo

Self-Host with Docker · Yantr

Cloudflared

Secure tunnel from your server to Cloudflare for remote access without opening firewall ports.

Ports

0

Deps

0

Use Cases

4

About

What Cloudflared does

Cloudflared (Cloudflare Tunnel) creates a secure connection from your server to Cloudflare, letting you expose services without opening firewall ports. It provides zero-trust access controls, Cloudflare Access authentication, automatic TLS certificates, and multi-service support via a single tunnel.

Install Flow

How to self-host Cloudflared

Cloudflared can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Cloudflared does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.

If you searched for Cloudflared Docker, Cloudflared Docker Compose, or self-host Cloudflared, this page is the direct landing page for that app in Yantr's catalog.

After deployment, Yantr also lets you publish additional ports later from the stack page using Docker-style syntax. Use mappings like 8080:8080 for a fixed host port or just 8080 to let Docker assign a random host port for container port 8080.

Use Cases

What people run it for

Access your home server from anywhere without router port forwarding.
Expose Jellyfin, Nextcloud, or other services securely with Cloudflare authentication.
Get free automatic HTTPS for your self-hosted services.
Set up zero-trust access - require login before reaching your services.

Technical Details

Ports, image, and service metadata

Docker Image

cloudflare/cloudflared:latest

Service Name

cloudflared

Notes

Things to know before you deploy

! Requires a Cloudflare account and tunnel token
! No ports need to be opened on your firewall
! Traffic routed through Cloudflare for DDoS protection
! To expose any Docker app, use the Docker host gateway IP (172.17.0.1) instead of 0.0.0.0 or localhost in the tunnel service URL, e.g. http://172.17.0.1:PORT

Related Apps

More tools you might pair with Cloudflared

More App Pages

Keep browsing the Yantr catalog

Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside Cloudflared.

Page generated 2026-05-03T17:57:37.943Z