Deploy Twenty CRM

Deploy latest version of Twenty CRM (v1.*) on Railway

Deploy Twenty CRM

Postgres

postgres:16

Just deployed

/var/lib/postgresql/data

Redis

bitnami/redis:7.2.5

Just deployed

/bitnami

Twenty

twentycrm/twenty:latest

Just deployed

/app/packages/twenty/data

Twenty Worker

twentycrm/twenty:latest

Just deployed

Deploy and Host Twenty CRM on Railway

Twenty CRM is a modern, open-source customer relationship management system built for fast-growing companies. It adapts to your workflows, integrates directly with your customer data, and serves as a flexible platform for sales, support, and marketing operations.

About Hosting Twenty CRM

Hosting Twenty CRM involves deploying a self-hosted backend that manages your customer relationships, workflows, and internal processes. The platform is fully open-source and gives you control over infrastructure, data, and customization. You’ll configure environment variables, set up required services like PostgreSQL and Redis, and follow the standard deployment flow. With proper setup, Twenty CRM becomes a scalable and reliable customer operating system.

Common Use Cases

  • Managing and visualizing complex sales pipelines
  • Unifying customer data across support, sales, and success teams
  • Automating outreach and customer lifecycle workflows

Dependencies for Twenty CRM Hosting

  • PostgreSQL database
  • Redis for caching and background jobs

Deployment Dependencies and Configuration

Use the following guides to deploy and upgrade the version of this template.

Using workflows

If you want to use workflows you must configure some type of S3 compatible storage. This is because the Twenty and Twenty Worker need access to the same persistent storage, which is not possible (yet) on Railway (storage volumes are only accessible by 1 service).

You can host your own S3 compatible storage on Railway like Minio: https://railway.com/deploy/SMKOEA. Or use any other S3 compatible cloud storage like AWS S3 or Cloudflare R2.

Then setup the following env vars in both the Twenty and Twenty Worker services:

STORAGE_TYPE: "S3" STORAGE_S3_REGION: your region STORAGE_S3_NAME : your name STORAGE_S3_ENDPOINT: your s3 endpoint STORAGE_S3_ACCESS_KEY_ID : your access key id STORAGE_S3_SECRET_ACCESS_KEY : your secret key

Versioning:

NOTE: By default the template always deploys the latest docker image: twentycrm/twenty:latest. But you can pin the deployments to a specific version by updating the source image of both the Twenty and Twenty Worker services. Example: twentycrm/twenty:v1.1.1.

Find all the versions available here: https://hub.docker.com/r/twentycrm/twenty/tags

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.


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

View Template
Postgres S3 backups
A simple NodeJS app to back up your PostgreSQL database to S3 via a cron

View Template
Tier
A single tool to configure,orchestrate and manage your entire pricing stack