I wrote up a blog post outlining the steps I took to migrate a custom Mastodon fork from heroku to fly.io:https://jesseplusplus.com/blog/migrating-mastodon-fork-heroku-fly/