Cloudflare Tunnel client for exposing local services
901
Expose local services to the internet securely via Cloudflare Tunnel.
docker run --network host \
-e TUNNEL_URL=http://localhost:3000 \
ogulcanaydogan/cloudflare-tunnel
docker run \
-e TUNNEL_TOKEN=<your-tunnel-token> \
ogulcanaydogan/cloudflare-tunnel
| Variable | Description | Default |
|---|---|---|
TUNNEL_TOKEN | Cloudflare tunnel token (named tunnel) | - |
TUNNEL_URL | Local URL to expose (quick tunnel) | http://localhost:8080 |
TUNNEL_HOSTNAME | Public hostname | - |
TUNNEL_METRICS | Metrics listen address | 0.0.0.0:2000 |
TUNNEL_LOGLEVEL | Log level (debug/info/warn/error) | info |
services:
app:
image: nginx
ports:
- "8080:80"
tunnel:
image: ogulcanaydogan/cloudflare-tunnel
environment:
- TUNNEL_TOKEN=${CF_TUNNEL_TOKEN}
depends_on:
- app
MIT
Content type
Image
Digest
sha256:2c8813575…
Size
23.5 MB
Last updated
7 months ago
docker pull ogulcanaydogan/cloudflare-tunnel