Self-Host Twenty CRM with Docker Compose
Twenty is the modern open-source alternative to Salesforce. Featuring a sleek modern UI, Kanban deal pipelines, custom data models, and complete data sovereignty.
Minimum Hardware Requirements
version: '3.8'
services:
twenty:
image: twentycrm/twenty:latest
container_name: twenty
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- twenty_data:/data
volumes:
twenty_data:
driver: local
docker-compose.yml and run:
docker compose up -d
Key Environment Variables
Recommended baseline environment configuration for this container
| Variable Name | Default / Recommended Value |
|---|---|
| SERVER_URL | https://crm.example.com |
| PG_DATABASE_URL | postgres://twenty:twenty_pass@postgres:5432/twenty |
| ACCESS_TOKEN_SECRET | generate_strong_access_secret |
VPS RAM & Server Sizing Calculator
Planning to run Twenty CRM alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces HubSpot CRM
Enterprise CRM platform with aggressive pricing cliffs as team contacts and automation rules expand.
More Business Apps View All →
Compare Twenty CRM
Benchmark specs head-to-head with other open-source alternatives
Compare Twenty CRM Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against Twenty CRM.