Skip to content

Add a guide to hosting openRun on Fly.io - #48

Merged
stretch0 merged 1 commit into
mainfrom
fly-guide
Nov 2, 2026
Merged

stretch0 merged 1 commit into
mainfrom
fly-guide

Conversation

@stretch0

@stretch0 stretch0 commented Nov 2, 2026

Copy link
Copy Markdown
Owner

What changed

  • deploy/fly/fly.toml: a real instance, unlike the demo's. The 0.3 release line, data on a volume at /data, one always-on machine (so syncs, weather and reminders keep running), INVITE_ONLY and TRUST_PROXY on.
  • docs/FLY.md: setup in four steps, your own domain (and why to choose it before passkeys), upgrades, backups (Fly's daily snapshots plus downloading a backup.js copy), password resets and what to know. Linked from the README's self-hosting section.

Tested

A throwaway openrun-trial app built from this config, now deleted:

  • The first start applied 9 database updates and handed /data (root-owned on a Fly volume) to the node user.
  • With real data (84 synced runs, a club with 8 runs), a machine restart and an upgrade from 0.2.0 to 0.3.0 ("Applied 1 database update") left every table's row count, all 85 file checksums and the push keys unchanged, and the sign-in session survived.

Not tried: restoring a snapshot, downloading a backup over fly ssh sftp, club logos and push delivery on Fly.

🤖 Generated with Claude Code

A fly.toml for a real instance: the 0.3 release line, data on a volume,
one always-on machine, invite-only and TRUST_PROXY. docs/FLY.md covers
setup, a custom domain, upgrades, backups and password resets, linked
from the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stretch0
stretch0 merged commit c308f63 into main Nov 2, 2026
5 checks passed
@stretch0
stretch0 deleted the fly-guide branch November 2, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant