Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment.


Modern open-source CRM with a beautiful interface
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the Twenty CRM template in Server Compass to deploy a self-hosted modern CRM with PostgreSQL and Redis, then verify the workspace UI in a browser.
Select your VPS, open the Apps tab, and start a new app deployment.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find Twenty CRM.

Choose the Twenty CRM template. Server Compass fills the app image, PostgreSQL service, Redis service, persistent storage, URLs, and secrets.

Confirm the app name, compose services, and generated configuration.

Review the generated environment values, confirm the port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass pulls images, starts services, and verifies the stack.

After deployment finishes, confirm the Twenty CRM app is marked Running.

Open the application URL in a browser. The Twenty CRM workspace UI confirms the app is reachable.

Twenty CRM loaded successfully and displayed the workspace UI with Companies, People, Opportunities, and other CRM sections.
It deploys Twenty CRM with PostgreSQL, Redis, and persistent local storage.
The tutorial used host port 3000, which maps to the Twenty CRM web server on container port 3000.
Learn how to self-host Twenty CRM with this hands-on deployment guide.
Launch your preferred terminal and connect to your VPS using SSH.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Prepare a directory for your application files and configuration.
# Create and navigate to project directory
mkdir -p ~/apps/twenty-crm
cd ~/apps/twenty-crmCreate the Docker Compose configuration file with these contents:
services:
twenty:
image: twentycrm/twenty:latest
ports:
- "3000:3000"
environment:
- SERVER_URL=<your-server-url>
- FRONT_BASE_URL=<your-front-base-url>
- HOST=0.0.0.0
- NODE_ENV=production
- APP_SECRET=<your-app-secret>
- ACCESS_TOKEN_SECRET=<your-access-token-secret>
- LOGIN_TOKEN_SECRET=<your-login-token-secret>
- REFRESH_TOKEN_SECRET=<your-refresh-token-secret>
- FILE_TOKEN_SECRET=<your-file-token-secret>
- PG_DATABASE_URL=postgresql://twenty:<your-db-password>@db:5432/twenty
- REDIS_URL=redis://redis:6379
volumes:
- twenty_data:/app/.local-storage
restart: unless-stopped
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
db:
image: postgres:16-alpine
environment:
- POSTGRES_DB=twenty
- POSTGRES_USER=twenty
- POSTGRES_PASSWORD=<your-db-password>
volumes:
- db_data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U twenty -d twenty"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
redis:
image: redis:7-alpine
volumes:
- redis_data:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
volumes:
twenty_data:
db_data:
redis_data:
PORTHost port to expose(default: 3000)SERVER_URLServer URLFRONT_BASE_URLFrontend URLAPP_SECRETApp secretACCESS_TOKEN_SECRETAccess token secretLOGIN_TOKEN_SECRETLogin token secretLaunch the application stack using Docker Compose.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Enable external access by opening the necessary port.
# Allow the application port through firewall
sudo ufw allow 3000/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:3000Let Server Compass handle the complexity. Deploy Twenty CRM with a simple, intuitive interface.
After deploying Twenty CRM with Server Compass, complete these steps to finish setup
Create your account
Import contacts and companies
Set up pipelines and deals
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting Twenty CRM
Simply download Server Compass, connect to your VPS, and select Twenty CRM from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
Twenty CRM requires a minimum of 2048MB RAM. We recommend a VPS with at least 4096MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Twenty CRM backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Twenty CRM image will be pulled and deployed with zero downtime.
Twenty CRM is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Download Server Compass and deploy Twenty CRM to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass