by erdaltoprak on 11/29/21, 5:59 PM with 19 comments
by stavros on 11/29/21, 6:39 PM
I did the same to enable secure access to services via SSO at work. I used Harbormaster[1] to deploy Compose files, but it's otherwise the same setup.
One of the big advantages this has is that the services can't be accessed any other way (not even from the same host, as they only listen inside the Docker network). That makes it hard to forget some port exposed because you listened to 0.0.0.0 instead of localhost.
Cloudflare access is very easy to set up SSO with, as well. I'd recommend this setup if you need it, though for home usage I usually just set up Caddy as a reverse proxy with basic auth, as I'll be the only person using this and I don't want Cloudflare MITMing my personal stuff.
by anderspitman on 11/29/21, 8:40 PM
My only concern is if it gets popular enough that a lot of self-hosters start using it for things like Plex and Jellyfin, which I believe is against Cloudflare's TOS, they might crack down on that.
If you prefer a self-hosted tunneling system, I maintain a list here:
by jgrahamc on 11/29/21, 6:45 PM
by ericcholis on 11/29/21, 6:48 PM
by cyounkins on 11/29/21, 8:37 PM
by systemvoltage on 11/29/21, 8:22 PM
by erulabs on 11/29/21, 8:18 PM
by V41frQo1SccpfHI on 11/29/21, 8:59 PM