DEV Community

How to Expose Your Docker App Securely with Cloudflare Tunnel and a Custom Domain (opens in new tab)

Covers Cloudflare TunnelDiscussed on DEV

Every time you forward a port on your router, you crack open a door to the internet. Anyone scanning your IP can knock on it, and some will. There is a better way. Cloudflare Tunnel creates a secure, outbound-only connection between your local server and Cloudflare's edge network. No open ports. No static IP. No firewall rules. Your app becomes reachable at your custom domain, fully encrypted, completely free. I recently migrated to a new domain and used this exact setup to get my Dockerized ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help