Packs / crm-public
self-host-twenty-crm
Self-host Twenty CRM (server, worker, Postgres, Valkey) behind localhost, ready for a tunnel
Install
logicpacks pack use crm-public/self-host-twenty-crmget_pack crm-public/self-host-twenty-crmThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
- TWENTY_PG_URL
- TWENTY_SERVER_URL
- TWENTY_APP_SECRET
- TWENTY_PG_PASSWORD
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
self-host-docker - Checks: 3 in
outcome/checks.yaml - Code:
boot_check.shcompose_lint.pydocker-compose.yml - Tools: python3, docker
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Self-host Twenty CRM (server, worker, Postgres, Valkey) behind localhost, ready for a tunnel
Goal
A working Twenty CRM on our machine where we can create a company/person, see it in the list and export CSV.
Steps
- Copy code/docker-compose.yml to the host; write .env with the env names (values from
lp key). bash code/boot_check.sh-> BOOT OK.- Open http://127.0.0.1:3000, create the workspace, add one person, export the People view to CSV.
- Expose via Cloudflare Tunnel + Access (cloudflare space) if needed.
Edge cases
- Twenty upgrades run DB migrations: back up Postgres first.
- AGPL: if we modify Twenty and serve it to others we must publish the changes.
Don'ts
- Don't use :latest.
- Don't expose Postgres/Valkey ports.