Fly.io
Deploy Composery on Fly.io with one volume behind Fly's HTTPS proxy.
Fly provides the public HTTPS edge through its proxy, and a Fly Volume gives Composery a
persistent /data. No Caddy.
Recipe: templates/fly
(fly.toml).
Deploy
# from the templates/fly directory
fly apps create composery # or: fly launch --no-deploy --copy-config
fly volumes create composery_data --size 10 --region iad
fly deployOpen https://composery.fly.dev/ide/. Register the initial password in the browser, or set one
as a secret:
fly secrets set COMPOSERY_PASSWORD=exampleNotes
- A Fly Volume is pinned to a single Machine. Run one Machine - do not scale this app
horizontally against the same volume (
persistenceis a single writer). auto_stop_machinesisoffso an idle editor session is not stopped mid-use. Set it to"stop"withmin_machines_running = 0if you prefer scale-to-zero and accept cold starts.- The volume and
appname must match what you create; editfly.tomlif you rename either. - Take a volume snapshot before major image upgrades.