Run Cloudflare Tunnels to expose local resources to the Internet through Cloudflare's network
2.3K
A Docker image for running Cloudflare Tunnels to expose local resources to the Internet through Cloudflare's network. Supports linux/amd64 and linux/arm64.
Images are built with GitHub Actions. Built images are pushed to Docker Hub.
Before running a Cloudflare tunnel through this image, you must first create a tunnel and save its credentials following Cloudflare's guide. You may run the container with sh as entrypoint for quicking getting a disposable cloudflared installation.
The container is configured through environment variables.
CERT_PEM_BASE64
The base64 encoded cert.pem file that's generated upon tunnel creation.
CLOUDFLARE_ACCOUNT_ID
Cloudflare account ID.
CLOUDFLARE_TUNNEL_ID
Tunnel ID as in the TunnelID field of the tunnel JSON file.
CLOUDFLARE_TUNNEL_SECRET
Tunnel secret as in the TunnelSecret field of the tunnel JSON file.
CLOUDFLARE_TUNNEL_NAME
Tunnel name as in the TunnelName field of the tunnel JSON file.
TARGET_URL
The URL to which traffic is redirected.
Content type
Image
Digest
sha256:4af22ee85…
Size
17 MB
Last updated
about 4 years ago
docker pull xjonathanlei/cloudflare-tunnel