Skip to content

Commit b6d28f0

Browse files
authored
App Submission: Cloudflare Tunnel (#891)
1 parent f6eae6f commit b6d28f0

File tree

5 files changed

+77
-0
lines changed

5 files changed

+77
-0
lines changed

cloudflared/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exports.sh -crlf

cloudflared/data/.gitkeep

Whitespace-only changes.

cloudflared/docker-compose.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: "3.7"
2+
3+
services:
4+
app_proxy:
5+
environment:
6+
APP_HOST: cloudflared-web
7+
APP_PORT: 3000
8+
9+
web:
10+
image: ghcr.io/radiokot/umbrel-cloudflared:1.0.1-cf.2023.10.0@sha256:77a0fe80bd9c8c1fa83290bbffbb1d478a047c4103ecd2aa5826bd9f19f84f18
11+
hostname: cloudflared-web
12+
restart: on-failure
13+
stop_grace_period: 1s
14+
depends_on:
15+
- connector
16+
volumes:
17+
- ${APP_DATA_DIR}/data:/app/data
18+
environment:
19+
CLOUDFLARED_HOSTNAME: "cloudflared-connector"
20+
CLOUDFLARED_METRICS_PORT: "${APP_CLOUDFLARED_METRICS_PORT}"
21+
CLOUDFLARED_TOKEN_FILE: "/app/data/token"
22+
23+
connector:
24+
image: ghcr.io/radiokot/umbrel-cloudflared-connector:1.0.0-cf.2023.10.0@sha256:4e8daf3826c1717cce0b37dda927f0a255ca87d6bb75e4d97e5412643a531abe
25+
hostname: cloudflared-connector
26+
restart: on-failure
27+
stop_grace_period: 5s
28+
volumes:
29+
- ${APP_DATA_DIR}/data:/data
30+
environment:
31+
CLOUDFLARED_METRICS_PORT: "${APP_CLOUDFLARED_METRICS_PORT}"
32+
CLOUDFLARED_TOKEN_FILE: "./data/token"
33+
extra_hosts:
34+
- "host.docker.internal:host-gateway"
35+
- "${APP_DOMAIN}:host-gateway"

cloudflared/exports.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export APP_CLOUDFLARED_METRICS_PORT="40901"

cloudflared/umbrel-app.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
manifestVersion: 1
2+
id: cloudflared
3+
name: Cloudflare Tunnel
4+
tagline: Access your Umbrel apps from the Internet using Cloudflare network
5+
category: networking
6+
version: "2023.10.0 (web 1.0.1)"
7+
port: 4499
8+
description: >-
9+
Start a secure tunnel to access your Umbrel apps from the Internet using the Cloudflare network.
10+
With Cloudflare Tunnel, you do not send traffic to an external IP — instead,
11+
this app contains a lightweight tunneling daemon (cloudflared) that creates outbound-only
12+
connections to Cloudflare's global network.
13+
14+
15+
To use this app, you must have a Cloudflare account set up with your own domain(s) configured.
16+
Once you have set up a Cloudflare account, check out this guide with examples to configure your own tunnel:
17+
https://github.com/Radiokot/umbrel-cloudflared/wiki/How-to-set-up-Cloudflare-Tunnel-on-your-Umbrel
18+
19+
20+
⚠️ Apps accessible from the Internet incentivize attackers and bots to hack into them.
21+
Only expose harmless apps or those having strong internal access control.
22+
23+
24+
Powered by Cloudflare.
25+
26+
developer: Radiokot
27+
website: https://www.cloudflare.com/products/tunnel/
28+
submitter: Radiokot
29+
submission: https://github.com/getumbrel/umbrel-apps/pull/891
30+
repo: https://github.com/Radiokot/umbrel-cloudflared
31+
support: https://github.com/Radiokot/umbrel-cloudflared/issues
32+
gallery:
33+
- 1.jpg
34+
- 2.jpg
35+
- 3.jpg
36+
releaseNotes: ""
37+
dependencies: []
38+
path: ""
39+
defaultUsername: ""
40+
defaultPassword: ""

0 commit comments

Comments
 (0)