Free & Open-Source DevOps Hub: 100% Valid Docker Compose configs & verified hardware benchmarks Try VPS RAM Calculator →
business ⭐ Featured Self-Hosted Stack Docker: twentycrm/twenty:latest

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.

GitHub Stars
★ 24,300
GitHub Forks
2,200
Language
TypeScript
License
AGPL-3.0
Last Commit
1 day ago

Minimum Hardware Requirements

RAM
Minimum Memory
2 GB
CPU
Processor
2 Core(s)
DISK
Storage Required
20 GB NVMe
docker-compose.yml
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
Save to 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
⚡ Embedded DevOps Micro-Tool

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.

Total Base RAM
Recommended (+25%)
CPU Cores Needed
Disk Storage

Matched Cloud VPS Tiers for Selected Workload:

Interactive Tool Matchup

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.

VS
Instant Benchmark Summary Open Full Comparison Page →

RAM
CPU
License

RAM
CPU
License