Platforms
Railway Deployment
Railway provides a simple platform for deploying Rivet Engine with automatic scaling and managed infrastructure.
Quick Deploy
You can also use the Rivet Railway template as a starting point for your application.
Manual Deployment
Prerequisites
- Railway account
- Railway CLI (optional)
Step 1: Create New Project
Command Line
Step 2: Add Services
Deploy PostgreSQL Database
- Click "New Service" → "Database" → "PostgreSQL"
- Railway automatically provisions and configures PostgreSQL
- Note the connection string from the service variables
Deploy Rivet Engine
- Click "New Service" → "Docker Image"
- Set image:
rivetkit/engine:latest
- Configure environment variables:
RIVET__POSTGRES__URL=${{Postgres.DATABASE_URL}}
Step 3: Deploy Your Application
Follow the Railway Quick Start guide to deploy your repository:
- Connect your GitHub account to Railway
- Select your repository containing your Rivet application
- Railway will automatically detect and deploy your application
- Configure environment variables for your application:
RIVET_ENGINE=${{Rivet.RAILWAY_PRIVATE_DOMAIN}}
- Points to the Rivet Engine service's private domain