Appearance
Moving from Fly.io
Follow the six steps; this page covers what's specific to Fly.
Draft the config
bash
keel init --from fly.tomlWhat Keel reads from fly.toml:
[processes]become services.appbecomesweb, and the processes[http_service]names become web services on itsinternal_port.- The first
[[http_service.checks]]path becomes the health check. [deploy] release_commandbecomesrelease.command.[build] dockerfileis kept.[env]keys becomesecrets:names, without their values.primary_regionis reported and not used, because a Fly region isn't an AWS region. The draft uses the region you choose at the prompt.
Secrets
fly secrets list shows names only, so set each value from wherever you keep it:
bash
keel config set STRIPE_KEY=...Data
Take a custom-format dump using a connection to your Fly database. Managed Postgres gives you a connection string; an older Fly Postgres app is reached through fly proxy. Then load it:
bash
pg_dump -Fc --no-owner --no-acl "$FLY_DATABASE_CONNECTION_STRING" > app.dump
keel db import app.dump