Skip to main content
Railway is the fastest path from build artifact to running server. It detects your Dockerfile, provisions infrastructure, and gives you a public URL — all in a single deploy command.

Deploy to Railway

1

Build the artifact

2

Create a Dockerfile

Use the Docker deployment patterns to create your Dockerfile, or use a minimal example:
Adjust the Dockerfile to match your project structure. The key requirement is that the dist/ directory containing the build artifact is available at runtime.
3

Install the Railway CLI

4

Initialize and deploy

Railway detects the Dockerfile, builds the image, and deploys it.
5

Set environment variables

Or configure variables in the Railway dashboard under your service’s settings.
6

Expose the service

In the Railway dashboard, go to your service’s Settings and generate a public domain. Your Hyperterse MCP endpoint will be available at https://<your-domain>/mcp.

Railway-managed databases

Railway provides one-click managed databases. Add a PostgreSQL or MySQL plugin from the dashboard, and Railway automatically injects the connection string as an environment variable.
Reference the injected variable in your .terse configuration:

Custom domains

In the Railway dashboard, navigate to Settings → Domains and add your custom domain. Railway provisions TLS certificates automatically.

Scaling

Railway supports horizontal scaling through the dashboard. Increase the number of replicas under your service’s Settings → Scaling section. Each replica runs an independent instance of hyperterse serve.