Skip to content

Commit 3372ac2

Browse files
committed
feat: add basic cf tunnel support for devenv
1 parent 82d4eca commit 3372ac2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ DEVELOPMENT_SSH_PASSWORD=password
5050
# If your user has a different UID than 1000, you might have to fill that in here to avoid permission issues
5151
#DEVELOPMENT_UID=1000
5252

53+
# If using the cftunnel docker compose profile, set your Cloudflare Tunnel token here
54+
#CF_TUNNEL_TOKEN=
55+
5356

5457
# ==========================
5558
# PRODUCTION - STANDALONE

docker-compose.development.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ services:
3838
volumes:
3939
- home:/home/ubuntu
4040
- ./:/workspace/zeppelin
41+
42+
cftunnel:
43+
profiles: [cftunnel]
44+
image: cloudflare/cloudflared:latest
45+
command: tunnel run
46+
environment:
47+
TUNNEL_TOKEN: ${CF_TUNNEL_TOKEN}

0 commit comments

Comments
 (0)