RouteLoom Launch Runbook
Recommended first production topology
Run one RouteLoom container behind HTTPS with a persistent volume mounted at
DATA_DIR. Keep Firebase Authentication for browser identity. A single instance
is required while SQLite is the primary database. Do not configure horizontal
replicas against one SQLite file.
Firebase Hosting alone is not sufficient for RouteLoom's Node server, streaming, WebSockets, workers, and persistent data. Use a container host with a persistent volume (Fly.io, Railway volume, Render disk, or a VPS). Firebase can continue to provide Authentication. A later stateless edition can move persistence to a managed database and scale horizontally.
Required launch sequence
- Copy
.env.production.exampleinto the host's secret manager and replace all placeholders. - Mount a durable volume at
DATA_DIRand enable provider-level backups. - Point the public domain to the host and enable HTTPS.
- Add the final domain to Firebase Authentication's authorized domains.
- Run
npm run launch:checkwith the production environment loaded. - Build the release image or standalone bundle.
- Start one instance and verify
/api/health, login, Firebase login, plan mode, WhatsApp upgrade, WebSocket connectivity, and one model request. - Configure uptime, error-rate, disk-space, and backup alerts.
- Keep commerce mode
freeduring the closed beta. Switch toplansonly after every beta user has an entitlement or can reach the upgrade page.
Rollback
Keep the previous container image and the pre-migration database backup. Roll back the image first. Restore the database only if a migration changed data incompatibly; never overwrite the live database without retaining a copy.