Deploy Sim
Sim 0.8.59: open-source visual builder for AI agent workflows.
Redis
Just deployed
/data
realtime
Just deployed
migrations
Just deployed
Just deployed
Just deployed
/var/lib/postgresql/data
Deploy and Host Sim on Railway
Sim is an open-source platform for building and running AI agent workflows on a visual canvas. You connect LLM blocks, tools, APIs, knowledge bases and more than a hundred integrations, then run workflows on schedules, webhooks or chat, with logs and versioning. It is an alternative to Flowise and n8n for AI-heavy automation.
About Hosting Sim
This template runs the official Sim v0.8.59 images as three services with Railway Postgres (with pgvector) and Redis: sim is the app, realtime is the socket server for collaborative editing, and migrations applies the database schema and exits. Sign-up and login are limited to SIM_ADMIN_EMAIL, and a boot script creates that account with a generated password, so strangers cannot register. Encryption, auth and internal secrets are generated. Workflows, logs and credentials live in Postgres. The app needs about 1 GB of RAM. Add your own LLM API keys in the workspace settings.
Common Use Cases
- Building AI agents and chatbots on a visual canvas
- Automating workflows that mix LLMs with APIs and databases
- Running scheduled or webhook-triggered AI pipelines
Dependencies for Sim Hosting
ghcr.io/simstudioai/simstudio,realtimeandmigrationsatv0.8.59(official images)- Railway Postgres and Redis
Deployment Dependencies
Implementation Details
| Service | Source | Networking | Storage |
|---|---|---|---|
| sim | ghcr.io/simstudioai/simstudio:v0.8.59 | public domain on 3000 | none (state in Postgres) |
| realtime | ghcr.io/simstudioai/realtime:v0.8.59 | public domain on 3002 | none |
| migrations | ghcr.io/simstudioai/migrations:v0.8.59 | none; runs once and exits | none |
| Postgres | Railway Postgres | private | Railway volume |
| Redis | Railway Redis | private | Railway volume |
| Variable (sim) | Default | Purpose |
|---|---|---|
SIM_ADMIN_EMAIL | admin@example.com | The only email allowed to sign up and log in |
SIM_ADMIN_PASSWORD | generated | Password of the account created on first boot |
ALLOWED_LOGIN_EMAILS | ${{SIM_ADMIN_EMAIL}} | Comma-separated allow-list |
ENCRYPTION_KEY | generated | Encrypts stored credentials; never change it |
Notes:
- To add teammates, append their emails to
ALLOWED_LOGIN_EMAILSand let them sign up. - The realtime server binds IPv4 only, so the app reaches it through its public domain.
- Redeploy
migrationsafter upgrading the image versions.
This is a community-maintained deployment package and does not imply affiliation with or endorsement by Sim Studio.
Why Deploy Sim on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Sim on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
