(Pass -> new version updated / Fail -> no update)
(Pass -> deployed to Fly.io / Fail -> deployment failed)
Forked from https://github.com/patte/fly-tailscale-exit.
You'll need to modify Dockerfile
, fly.toml
and start.sh
before deploy to Fly.io.
Optional: Double check the version specified matches the latest version available at https://pkgs.tailscale.com/stable/.
GitHub Action will auto update Tailscale version on Sundays.
Change app = "com-stepbrobd-vpn"
to your preferred app name.
Change --hostname=com-stepbrobd-vpn-${FLY_REGION}
to your preferred hostname.
Make sure you have a Tailscale account, a Fly.io account, and a computer with flyctl
installed.
-
Go to https://login.tailscale.com/admin/settings/keys to generate a new auth key.
-
Run
fly launch
to initialize the app (do NOT deploy at this step). -
Run
fly secrets set TAILSCALE_AUTH_KEY=YOUR-KEY
, replaceYOUR_KEY
with the key generated in step 1. -
Run
fly deploy
. -
Scale the app if you want, see documentation https://fly.io/docs/reference/regions/#fly-io-regions.
redeploy.py
will delete exit node machines on your Tailnet matching criteria and redeploy based on your local flyctl
configuration.