Deploy Twenty CRM
Twenty CRM v2.60.1: server + worker, Postgres, Redis, bucket storage
Postgres
Just deployed
/var/lib/postgresql
Twenty
Just deployed
Twenty Worker
Just deployed
Redis
Just deployed
/data
Bucket
Bucket
Just deployed
Deploy and Host Twenty CRM on Railway
Twenty is the #1 open-source CRM: a modern Salesforce/HubSpot alternative with companies, people, opportunities, tasks, notes, workflows, custom objects and a REST/GraphQL API.
About Hosting Twenty CRM
This template runs the official Twenty image pinned by digest (v2.60.1) as a server plus a background worker, with Postgres 17, Redis (persistent queue) and a Railway Storage Bucket for file attachments. Upgrades are tested from the previous release before each template update. It deploys with zero inputs: all secrets are generated.
Common Use Cases
- Self-hosted CRM for a sales team or agency, with your data in your own Postgres
- Replace Salesforce/HubSpot seats with a flat infrastructure bill
- Build custom objects and workflows on top of a CRM API
Dependencies for Twenty CRM Hosting
- Postgres 17 (included, private network)
- Redis 8 with a volume (included, private network)
- Railway Storage Bucket (included) for attachments and avatars
Deployment Dependencies
- Upstream project: https://github.com/twentyhq/twenty
- Template repo with docs, upgrade, backup and troubleshooting guide: https://github.com/TalhaRamzan/railway-twenty-crm
Implementation Details
- Open the public URL and create the first account right away: the first user becomes the admin, and sign-up then closes (single workspace mode).
ENCRYPTION_KEYon theTwentyservice encrypts secrets in the database: back it up.- Do not redeploy while the very first boot is still creating the database (2–4 minutes).
- Email: Twenty only supports SMTP, which Railway blocks on Hobby; invite teammates with the copy-link button, or add SMTP variables on Pro.
- Expect roughly $20–28/month on Railway (server + worker ≈ 2 GB RAM idle).
Why Deploy Twenty CRM 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 Twenty CRM 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.
Unofficial community template, not affiliated with Twenty. Twenty is AGPL-3.0 licensed.
Template Content
Postgres
postgres:17.11Twenty
twentycrm/twenty:v2.60.1Twenty Worker
twentycrm/twenty:v2.60.1Redis
redis:8.6.8Bucket
Bucket
