HaloStack Docs
Open App
Operations

Railway

Railway topology, environment sync, preview mode, and Cloudflare R2 bootstrap.

HaloStack deploys to Railway as code. The topology lives in .railway/railway.ts; environment variables, init steps, and preview helpers live under infra/railway.

Topology

Railway runs five app services and two data plugins:

Object storage stays external on Cloudflare R2. DNS stays manual in Cloudflare. Production env sync verifies these data volumes and fails if they are missing.

Commands

Production requires a custom ROOT_DOMAIN. Non-production environments can omit it and run in preview mode on Railway *.up.railway.app domains, with AI/email optional and the seeded demo login available.

See infra/railway/README.md for the full runbook.

On This Page