DevDocs
Home
Guides

Deploying to Fly.io

Install flyctl

curl -L https://fly.io/install.sh | sh
fly auth login

Launch

fly launch

Fly generates a fly.toml and a Dockerfile. Review them, then:

fly deploy

Secrets

fly secrets set API_SECRET=your_secret DATABASE_URL=postgres://...