[Update 2024/02/14]: The Tailscale docs seemed to have updated and now follows the changes described in this post.
The official Tailscale docs does explain on how to integrate Tailscale into a fly.io app. However, I’m not a fan of how the Tailscale version and architecture were hardcoded in the Dockerfile. I prefer my Dockerfile to always include the latest and greatest Tailscale version, and also I would like to support multi-arch Docker builds.
If you want to achieve the same, just replace the Dockerfile template like so:
Adwin Ying
Self-taught full-stack web dev based in Tokyo.
Occasionally wrecks servers through
self-hosting
and
homelab-ing.