Deploy & Host Roster | Railway

Deploy and Host Roster on Railway

Roster is team chat whose threads run coding agents on real repositories. A channel is a repo; asking its agent something opens a thread and starts a real session on real code, reached through Superset on whichever machine holds the project. Progress, questions and output land in the thread, next to the conversation that started it.

About Hosting Roster

Roster runs as two tiers that ship in one image. The web service serves the app and applies database migrations on boot. The worker owns every agent session: it holds the connection to each machine, watches each running session, writes progress back into the thread, and delivers steers and cancellations. Setting ROSTER_RUN_WORKER to 1 runs both in the web container, which is the simplest working setup; the worker can later be split into its own service with the start command node apps/worker/dist/worker.mjs.

This template provisions four services: the app, Postgres for messages and threads, Redis for the session work queue, and Centrifugo for realtime. The app needs a volume mounted at /app/uploads so message attachments survive a redeploy.

Why Deploy Roster on Railway?

Railway provisions Postgres, Redis and the app together with their connection strings already wired, so the only values left to supply are your own domain and mail settings. The app migrates its own schema on first boot, and the worker restarts with the container if it ever exits, so a deploy is a single step rather than a sequence.

Common Use Cases

Dependencies for Roster Hosting

Important: set ROSTER_RUN_WORKER

Something has to run the worker, or the app boots, signs in and opens threads while no agent ever runs. Set ROSTER_RUN_WORKER to 1 on the web service unless you are running the worker as its own service.

Other References

Template Content

Postgres
ghcr.io/railwayapp-templates/postgres-ssl:18

centrifugo
centrifugo/centrifugo:v6.9.6

Redis
redis:8.2

2 variables required

web
harshithmullapudi/roster

3 variables required

More templates in this category

N8N Main + Worker
Deploy and Host N8N with Inactive worker.

Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates

870