← All decisions

API + admin portal deploy to Railway

accepted

0006 — API + admin portal deploy to Railway

Context

The API and admin portal are stateful-ish (websocket-friendly, long-running connections, file streaming). They need a node host with predictable behavior, ergonomic deploys, and low ops overhead for a one-engineer team.

Internalize already runs on Railway and the operator experience has been good.

Decision

Single Railway project running the API + admin portal. Single instance to start. Auto-deploys from the main branch.

Consequences

Easier:

Harder:

Revisit if: API request volume sustains above 80% of vertical capacity for a week, or a tenant in a different region complains about latency.

Alternatives considered