docker-cloudflared icon indicating copy to clipboard operation
docker-cloudflared copied to clipboard

A docker container for running Cloudflare's Argo Tunnel service.

docker-cloudflared

A docker container for running Cloudflare's Argo Tunnel to proxy a service.

You can activate a tunnel to a service by specifying the following environment variables:

  • TUNNEL_HOSTNAME - The hostname on Cloudflare that you wish to register for the tunnel endpoint (i.e. mirror.example.com).
  • TUNNEL_URL - The local URL you wish to forward the above hostname to, for example http://localhost:8080.

Additionally you must mount your client origin certificate/private key/token file. By default cloudflared looks for it in /etc/cloudflared/cert.pem but this can be overridden with the environment variable TUNNEL_ORIGIN_CERT.

Inspired by the chambana/cloudflared container.