What is Twenty CRM?
CRM pricing is the per-seat genre at its purest: Attio runs $29-36 per user, Pipedrive $14-24, HubSpot looks cheap until contact tiers bite - and every new hire is a new line item. Twenty is the open-source reset: a CRM with a genuinely modern data model (custom objects and fields like a database, not a form builder), pipelines, notes, tasks, email sync, and workflows.
Since v2.1 upstream calls self-hosting production-ready, and the shape fits this catalogue perfectly: server and worker from one image on a managed Postgres (stock Postgres 16 - the old custom-image era is over), with a noeviction Valkey for the BullMQ queue that drives email sync, imports, and workflows.
One classic gotcha is handled loudly: SERVER_URL must exactly match the public URL - the README says so twice, because it is the number-one self-hosting support thread upstream.
What you get
- Custom objects and fields - model your business, not a template
- Pipelines, kanban and table views, notes, tasks
- Email sync and workflows (BullMQ worker included)
- REST + GraphQL APIs; webhooks
- Stock Postgres 16 = managed Postgres, auto-wired
- Unlimited seats - AGPL core, CRM not feature-gated
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
server | app + API (:5000), migrations on start | yes |
worker | BullMQ: email sync, imports, workflows | no |
broker | Valkey, noeviction (queue) | no |
db | Postgres 16 - managed service on Lyngbak, container locally | no |
Before you deploy
ENCRYPTION_KEYopenssl rand -base64 32
REDIS_AUTHbroker password
SERVER_URLmust EXACTLY match the app’s https domain - set after first deploy
Sizing and billing
1 GiB each for server and worker is the safe floor (NestJS processes; imports spike the worker). Attachments ride a shared volume - or S3 for a stateless pair.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.88 GiB of volumes cost $0.15 per GiB a month ($1.48/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Attio | Plus | $290/mo | $29/user/mo annual at 10 users (~$36 monthly) |
| Pipedrive | Lite | $140/mo | $14/user/mo annual at 10 users ($24 monthly) |
| HubSpot | Starter | $150/mo | $15/seat/mo annual at 10 seats - contact tiers and hub upgrades climb from there |
CRMs are the purest per-seat genre; Twenty self-hosted makes headcount free. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does the cost compare to Attio or Pipedrive?
Attio and Pipedrive both price per user per month, so a 10-person team pays for ten seats, forever, growing with headcount. Twenty here has unlimited seats and no per-seat fee.
Is self-hosted Twenty actually production-ready?
Upstream marked it so with v2.1 (April 2026) and ships an official compose this template mirrors: same-image server/worker split, stock Postgres, noeviction Redis. The earlier custom-Postgres-image era is over.
What is the SERVER_URL warning about?
Twenty derives auth callbacks and CORS from SERVER_URL, so any mismatch with the real public URL produces opaque 403s - it is the most common self-hosting issue upstream. Set it to the exact https domain and the problem class disappears.
Does the AGPL license matter for my sales data?
No - AGPL governs the software, not your data. A few enterprise-marked files (SSO and similar) are commercially licensed upstream, but the CRM you deploy here is the full product for everyday use.