Speedrun! Deploying to Fly
You have an application you want to deploy on Fly? You already know your stuff? Specifically Docker? Good!
- Install Flyctl - you'll need it.
- Sign up/Log in to Fly - run
flyctl auth signupto create an account or
flyctl auth loginto log in.
- Package your application in a Docker image. Your application should use port
flyctl apps create- let Fly generate you a name (recommended) or enter one of your own. This command generates a fly.toml file with config.
flyctl deploy- Fly will deploy your application.
flyctl info- Fly will show you the hostname where your app is deployed.
Point your browser or other app at that hostname. That's your app running globally.