Repository navigation
Self-host: an optional Tailscale profile for private HTTPS access #1510
frozenprocess
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Ask
The self-host guide documents three ways to reach a remote server:
httpsprofile (Caddy). It exposes the service to the Internet which is scary.Tailscale already works through the third option: install Tailscale on the host and run
tailscale serveto forward to127.0.0.1:4310. This proposal doesn't do anything new, it just packages Tailscale into Nod so it becomes easier for self-hosters like me to securely attach Nod to their fortress.Proposal
Add an opt-in
tailscaleCompose profile todeployment/self-host/compose.yaml:tailscale/tailscalecontainer joins the tailnet with an auth key from.env.tailscale serve, it serves Nod athttps://<node>.<tailnet>.ts.net. Tailscale issues and renews the certificate.sh install.sh --tailscalestarts it for bundle installs.docker compose --profile tailscale up -d --build --waitstarts it fromdeployment/self-hostin a source checkout.TAILSCALE_FUNNEL=truepublishes the same address on the public internet through Tailscale Funnel. (I'm not fan of since it exposes their services to the internet that is why this is optional, and not enabled by default)The Nod server, the workspace, and the browser don't change. The Tailscale container sits only on the
outboundnetwork, so the workspace and the browser can't reach it.Questions for maintainers
deployment/self-host, or would you rather keep only the generichttpsprofile?I have a working implementation and can open a pull request if this direction is acceptable.
All reactions