---
title: "Deploy Twenty CRM"
description: "Twenty CRM v2.60.1: server + worker, Postgres, Redis, bucket storage"
category: "Other"
url: https://railway.com/deploy/twenty-crm-2
---

# Deploy Twenty CRM

Twenty CRM v2.60.1: server + worker, Postgres, Redis, bucket storage

**[Deploy Twenty CRM on Railway](https://railway.com/template/twenty-crm-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/twenty-crm-2/manifest.json

- **Creator:** talharamzan's Projects
- **Category:** Other

## Template content

### Postgres

- **Image:** postgres:17.11@sha256:ff87138949ad9a46f32ff23bd6852b52ce024a13dffe9b4087be98292cdd3b4f

### Twenty

- **Image:** twentycrm/twenty:v2.60.1@sha256:b190e54ca434ea1ee47fe73b8d76e77d0bf3c6f734fcec58e414108d6867939c
- **Start command:** `/bin/sh -c "export NODE_PORT=${PORT:-3000} STORAGE_TYPE=${STORAGE_TYPE:-s3} IS_MULTIWORKSPACE_ENABLED=${IS_MULTIWORKSPACE_ENABLED:-false} IS_WORKSPACE_CREATION_LIMITED_TO_SERVER_ADMINS=${IS_WORKSPACE_CREATION_LIMITED_TO_SERVER_ADMINS:-true} EMAIL_DRIVER=${EMAIL_DRIVER:-logger} EMAIL_FROM_ADDRESS=${EMAIL_FROM_ADDRESS:-noreply@example.com} EMAIL_FROM_NAME=\"${EMAIL_FROM_NAME:-Twenty CRM}\" TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false} DISABLE_DB_MIGRATIONS=${DISABLE_DB_MIGRATIONS:-false} DISABLE_CRON_JOBS_REGISTRATION=${DISABLE_CRON_JOBS_REGISTRATION:-false} NODE_OPTIONS=\"${NODE_OPTIONS:---max-old-space-size=1536}\"; exec /app/entrypoint.sh node dist/main"`
- **Public domain:** Yes

### Twenty Worker

- **Image:** twentycrm/twenty:v2.60.1@sha256:b190e54ca434ea1ee47fe73b8d76e77d0bf3c6f734fcec58e414108d6867939c
- **Start command:** `/bin/sh -c "export STORAGE_TYPE=${STORAGE_TYPE:-s3} IS_MULTIWORKSPACE_ENABLED=${IS_MULTIWORKSPACE_ENABLED:-false} IS_WORKSPACE_CREATION_LIMITED_TO_SERVER_ADMINS=${IS_WORKSPACE_CREATION_LIMITED_TO_SERVER_ADMINS:-true} EMAIL_DRIVER=${EMAIL_DRIVER:-logger} EMAIL_FROM_ADDRESS=${EMAIL_FROM_ADDRESS:-noreply@example.com} EMAIL_FROM_NAME=\"${EMAIL_FROM_NAME:-Twenty CRM}\" TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false} DISABLE_DB_MIGRATIONS=true DISABLE_CRON_JOBS_REGISTRATION=true NODE_OPTIONS=\"${WORKER_NODE_OPTIONS:---max-old-space-size=1024}\"; exec /app/entrypoint.sh yarn worker:prod"`

### Redis

- **Image:** redis:8.6.8@sha256:8b30009c0de4fdb3fb67deb8afab050fe454e9b233c6a2c142ec34fcc51fa7f5
- **Start command:** `/bin/sh -c "chown -R redis:redis /data 2>/dev/null; exec docker-entrypoint.sh redis-server --requirepass \"$REDIS_PASSWORD\" --appendonly yes --dir /data --maxmemory-policy noeviction"`

## Buckets

- **Bucket**

## Documentation

# 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_KEY` on the `Twenty` service 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._


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/twenty-crm-2
