-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
31 lines (26 loc) · 962 Bytes
/
compose.yaml
File metadata and controls
31 lines (26 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: cloudflared
x-daemonless:
title: "Cloudflared"
icon: ":simple-cloudflare:"
category: "Infrastructure"
description: "Tunneling daemon that proxies any local webserver through the Cloudflare network without DNS records or firewall changes."
upstream_url: "https://github.com/cloudflare/cloudflared"
web_url: "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps"
freshports_url: "https://www.freshports.org/net/cloudflared/"
user: "root"
upstream_binary: false
appjail: true
docs:
env:
TUNNEL_TOKEN: "Required: The Cloudflare Tunnel token."
TUNNEL_METRICS: "Optional: Address to bind metrics server (default: 0.0.0.0:2000)"
services:
cloudflared:
image: ghcr.io/daemonless/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
environment:
- TUNNEL_TOKEN=YOUR_CLOUDFLARE_TOKEN_HERE
- TUNNEL_METRICS=0.0.0.0:2000
ports:
- "2000:2000"