Unraid-Cloudflared-Tunnel

Unraid-Cloudflared-Tunnel

Docker 应用程序 from Figro's Repository

概述

Simple cloudflared docker container for Unraid. Simply add your token from cloudflare dashboard as a variable and your done. There are advanced environement variables that can be set. The default values in these fields are what cloudflared will use by default if they are not set. There is more environement variables that can be added but will need a value entered or other configuration to use so I have removed them from the template. They can be seen on the github readme or the cloudflared docs. Cloudflared Docs: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/ https://hub.docker.com/r/cloudflare/cloudflared https://github.com/cloudflare/cloudflared Github: https://github.com/AriaGomes/Unraid-Cloudflared-Tunnel DockerHub: https://hub.docker.com/r/figro/Unraid-cloudflared-tunnel Discord: Figro#4064

运行时参数

网络用户界面
http://[IP]:[PORT:46495]
网络
bridge
外壳
sh
特权
false

模板配置

TUNNEL_TOKENVariable

Associates the cloudflared instance with a specific tunnel. The tunnel’s token is shown in the dashboard when you first create the tunnel. You can also retrieve the token using the API.

NO_AUTOUPDATEVariable

Disables automatic cloudflared updates. Set to false or delete to autoupdate. Autoupdating can cause tunnel to go down.

价值
true
TUNNEL_RETRIESVariable

Specifies the maximum number of retries for connection/protocol errors. Retries use exponential backoff (retrying at 1, 2, 4, 8, 16 seconds by default), so it is not recommended that you increase this value significantly.

默认值
5
价值
5
TUNNEL_REGIONVariable

Allows you to choose the regions to which connections are established. Currently the only available value is us, which routes all connections through data centers in the United States. Omit or leave empty to connect to the global region.

TUNNEL_TRANSPORT_PROTOCOLVariable

Specifies the protocol used to establish a connection between cloudflared and the Cloudflare global network. Available values are auto, http2, and quic.

价值
auto
TUNNEL_EDGE_BIND_ADDRESSVariable

Specifies the outgoing IP address used to establish a connection between cloudflared and the Cloudflare global network.

TUNNEL_EDGE_IP_VERSIONVariable

Specifies the IP address version (IPv4 or IPv6) used to establish a connection between cloudflared and the Cloudflare global network. Available values are auto, 4, and 6.

价值
auto
TUNNEL_GRACE_PERIODVariable

When cloudflared receives SIGINT/SIGTERM it will stop accepting new requests, wait for in-progress requests to terminate, then shut down. Waiting for in-progress requests will timeout after this grace period, or when a second SIGTERM/SIGINT is received.

价值
30s
TUNNEL_ORIGIN_CERTVariable

Specifies the account certificate for one of your zones, authorizing the client to serve as an origin for that zone. You can obtain a certificate by using the cloudflared tunnel login command or by visiting https://dash.cloudflare.com/argotunnel.

TUNNEL_METRICSVariable

Exposes a Prometheus endpoint on the specified IP address/port, which you can then query for usage metrics. (You will need to add a port to the unraid template)

价值
0.0.0.0:46495
TUNNEL_LOGLEVELVariable

Specifies the verbosity of logging. The default info level does not produce much output, but you may wish to use the warn level in production. Available values are: debug, info, warn, error, fatal.

价值
info
Metrics PortPorttcp

Exposes prometheus metrics server (Can be removed if you don't care about metrics)

目标
46495
默认值
46495
价值
46495
AppdataPathrw

Used in conjuction with log, pid, and cert env variables to get more info or use your own cert. If you don't need this you can delete or ignore this.

目标
/appdata
默认值
/mnt/user/appdata/cloudflared
价值
/mnt/user/appdata/cloudflared

视频

下载统计数据

443,752
下载总数
38,547
本月
23,532
平均每月

长期下载总量

加载图表...

详细信息

存储库
figro/unraid-cloudflared-tunnel
最后更新2026-04-04
初见2022-10-20

在Unraid 上运行 Unraid-Cloudflared-Tunnel 。

Unraid-Cloudflared-Tunnel 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。