One important file we have in Fly.io-launched repos is fly.toml
. We need it so we know which app is related to your repo, specially when you do CLI commands. This is also important now for UI features because our config file contains important metadata about your app (what’s the default VM size? do you use services/http_services? etc).
We just shipped a new improvement that whenever you launch your repo we will ask to create a Pull Request for you to add fly.toml
(and perhaps more files such as Dockerfile and .dockerignore if needed) so your repo good to go in the next deployment!
You can also choose to ignore this literally forever!
When you select to launch public repos we will assume you don’t have access to it so we won’t offer that PR though.
What if I used the Launch UI before this change?
Go to your app deployments page and your “Deploy now” button will be “Launch your app” for the first time you do this. This will just do a deployment and offer the PR for you in the end.
What’s next?
Well we need to add support for fly.json and fly.yaml too also we got some feedback about monorepos and files named differently than fly.{toml|yaml|json}
so we need to add support to that. In the meantime the team is cooking some improvements for our UIs .