✓ No credit card required ✓ First 7 days free

A self-hosted CRM is a customer relationship management system that you deploy and run on your own servers or infrastructure instead of relying on a vendor's cloud. With a self-hosted CRM, you control where the software runs, where your data is stored, and who has access. Nothing leaves your environment unless you explicitly allow it.
According to Gartner, the global CRM market reached $48.7 billion in 2023, yet most major platforms remain cloud-only. For businesses that handle sensitive customer data, operate in regulated industries, or want full sovereignty over their systems, self-hosting is not a preference but a requirement. Government agencies, healthcare organizations, financial services companies, and security-conscious enterprises often cannot send customer data to third-party cloud providers, regardless of where those servers are located.
Self-hosting also appeals to technical teams who want complete control over their stack. You choose the hardware, the operating system, the database configuration, the backup strategy, and the update schedule. The CRM runs exactly as you need it, with no dependencies on external services for daily operation.
Customermates is built as an open-source CRM with Docker as the primary deployment method. Self-hosting is not an afterthought or a premium tier. It is a first-class deployment option with full documentation and community support.
Docker deployment. Customermates ships as Docker containers, making deployment straightforward on any infrastructure that supports Docker. Whether you run bare-metal servers, virtual machines, or a Kubernetes cluster, the containerized architecture fits into your existing setup. A single docker compose up command gets you a running instance with the CRM, database, and all dependencies configured.
Full source code access. Customermates is open core: the core CRM is open source under the AGPL-3.0 license, and the enterprise modules (the unified inbox and read-only calendar view) are source-available under a commercial license. You can inspect the repository, review the security model and data paths, and adapt the AGPL core. A self-hosted installation sends no Sentry data unless you configure a Sentry DSN; review every configured provider instead of treating that narrow fact as a blanket no-telemetry guarantee.
Core data on your servers. When you self-host Customermates, core CRM data and note content live in your PostgreSQL deployment. General record attachments do not exist, and the cloud-only unified inbox is absent. Any AI, messaging, workflow, SMTP, identity, or monitoring provider you configure receives the data that connection sends.
Separate n8n automation engine. Connect an n8n instance through REST, webhooks, MCP, or the community node. The Customermates Docker stack contains only the application and PostgreSQL; the n8n runtime, credentials, logs, limits, and costs remain separate.
Standard PostgreSQL database. Customermates uses PostgreSQL, a widely trusted open-source database. Your data is stored in a standard format that you can query, back up, migrate, and manage with familiar tools. You are never locked into a proprietary data format that requires the vendor's software to access.
Infrastructure control. You decide where the application and database run, who can access that infrastructure, and how it is retained. Connected providers remain third parties with their own contracts and processing boundaries, so self-hosting controls the CRM deployment without making an absolute all-data-residency promise.
Compliance remains your responsibility. Self-hosting lets you choose the application and database location, retention, network, and access controls. It does not create automatic GDPR compliance or a certification; your organization must assess its configuration, connected providers, legal basis, policies, and operational controls.
Network-controlled environments. You control ingress and egress for the self-hosted application and database. Customermates makes no general air-gap guarantee: updates and any configured OAuth, SMTP, AI, messaging, workflow, monitoring, or other external provider require the connectivity their integration uses.
Custom security policies. Apply your organization's security standards directly. Configure firewalls, VPN access, encryption at rest, and network segmentation according to your own policies. You are not limited by what a cloud provider's admin panel offers. The infrastructure is yours to secure as you see fit.
Predictable performance. Self-hosted deployments run on dedicated resources. There is no multi-tenant noisy-neighbor problem, no shared infrastructure bottlenecks, and no dependency on an external provider's uptime. Your CRM performs consistently because it runs on hardware you provision and monitor.
No vendor lock-in. With open-source code and a standard PostgreSQL database, you are never trapped. Whether you want to modify the application, fork it, migrate to different hardware, or switch to the cloud version later, every path is open. Your investment in configuration, customization, and data is fully portable.
Choosing between cloud and self-hosted deployment depends on your organization's priorities. Here is how the two models compare:
| Criteria | Cloud CRM | Self-Hosted CRM |
|---|---|---|
| Setup time | Minutes | 30 minutes to a few hours |
| Data location | Provider's servers | Your servers |
| Maintenance | Provider handles updates | You control update schedule |
| Customization | Configuration options | Full source code access |
| Cost model | Per-user monthly fee | Infrastructure cost only |
| Internet required | Always | Depends on connected providers |
| Compliance responsibility | Shared with providers | Remains with the operator |
| Scalability | Provider scales for you | You scale your hardware |
With Customermates, you do not have to choose permanently. You can start with the cloud version at tiers from €12 per user per month and migrate to self-hosting at any time, or vice versa. The application is the same codebase in both environments: self-hosting is free forever and includes the full core CRM, matching the €12 Starter tier. The MCP access for external AI clients that lets Claude, ChatGPT, and Gemini operate the CRM runs self-hosted. The unified inbox (email, LinkedIn, WhatsApp, Instagram, and Telegram) and the read-only calendar view are Customermates Cloud features and come with the Pro tier. White-label branding is a contracted Enterprise item with no implementation in either build. Google and Microsoft sign-in (OAuth) works self-hosted once you set the provider environment variables. See pricing for the cloud tiers.
| Feature | Customermates | HubSpot | Salesforce | Pipedrive |
|---|---|---|---|---|
| Self-hosting available | ||||
| Open source | ||||
| Docker deployment | ||||
| Air-gap guarantee | ||||
| Full source code access | ||||
| Standard database (PostgreSQL) | ||||
| Deployment-location control | ||||
| External automation (separate n8n) | ||||
| Cloud option available | ||||
| Price/user/month (cloud) | From €12 | Free / $90+ | $25+ | $14+ |
HubSpot, Salesforce, and Pipedrive are cloud-only platforms. None of them offer self-hosting, on-premise deployment, or access to source code. If your compliance requirements mandate data sovereignty or on-premise infrastructure, these platforms cannot meet them. See our HubSpot alternative comparison, Salesforce alternative comparison, and Pipedrive alternative comparison for detailed breakdowns.
For organizations evaluating self-hosted CRM options, Customermates is a modern, open-source core CRM you can run in the cloud or on your own servers. Self-hosting is fixed to Starter entitlements; the unified inbox and read-only calendar view are cloud features, while white-label is contracted but not implemented.
One of the most compelling reasons to self-host a CRM is cost savings at scale. Here is a realistic comparison for a 25-person team:
| Cost factor | Customermates (self-hosted) | HubSpot Sales Hub | Salesforce Sales Cloud |
|---|---|---|---|
| Software license | Free (open source) | $90/user/month | $25-$175/user/month |
| Infrastructure (VPS) | ~€30-80/month | Included | Included |
| Monthly total (25 users) | ~€30-80 | $2,250+ | $625-$4,375 |
| Annual total | ~€360-960 | $27,000+ | $7,500-$49,500 |
Self-hosting Customermates eliminates per-user licensing entirely. You pay only for the server infrastructure. For teams of 10 or more, the savings are significant. Even the cloud-hosted version, starting at €12/user/month, is substantially cheaper than most competitors. Compare Salesforce pricing and Pipedrive pricing for more details.
Single server. For small business and mid-market teams, Customermates runs comfortably on a single server. A machine with 4 GB of RAM and 2 CPU cores handles a team of up to 50 users with room to spare. Docker Compose manages all the services, and the entire stack starts with a single command.
High availability planning. Organizations that need redundancy can design a deployment around load balancing, PostgreSQL replication, and their own infrastructure controls. Customermates does not ship a general record-attachment store or a turnkey high-availability topology; validate and operate the architecture you choose.
Kubernetes. Teams already running Kubernetes can deploy Customermates using Helm charts or custom manifests. The application integrates cleanly with existing cluster infrastructure, including ingress controllers, persistent volume claims, and secrets management.
Private cloud. Deploy on AWS, Azure, Google Cloud, Hetzner, or any infrastructure provider within your own virtual private cloud. You get the flexibility of cloud infrastructure with the control of self-hosting. The CRM runs in your tenant, on your network, under your account.
Regulated industries. Financial services, healthcare, legal, and government organizations often face strict data-residency and processing requirements. Self-hosting gives them deployment control, but suitability and compliance still depend on configuration, connected providers, policies, contracts, and an independent assessment.
Security-conscious companies. Organizations with strict security policies can run the application and database within their own perimeter. Connected services receive whatever data the configuration sends, so the security team must govern both the deployment and every external integration.
Technical teams that want control. Development teams, agencies, and IT organizations that prefer to manage their own infrastructure will appreciate the clean Docker deployment, standard database, and full source code access. Customermates fits into existing DevOps workflows with integrations for Slack, email, and custom APIs.
Cost-conscious scaling. At a certain team size, self-hosting becomes significantly more cost-effective than per-user SaaS pricing. You pay for infrastructure once and add users without incremental licensing costs. For startups and growing companies, the economics of self-hosting are compelling. Combined with the affordable cloud pricing, Customermates gives you a flexible cost structure: pay per user in the cloud, or pay only for infrastructure when you self-host.
Getting your self-hosted CRM running takes less than 30 minutes:
Prepare your server. Provision a Linux server with Docker and Docker Compose installed. Minimum requirements: 4 GB RAM, 2 CPU cores, 20 GB storage.
Clone the repository. Pull the Customermates Docker images or clone the open-source repository from GitHub.
Configure environment variables. Set your database credentials, domain name, TLS certificates, and SMTP settings in the .env file.
Start the stack. Run docker compose up -d to launch the two tracked services: the Customermates application and PostgreSQL database. Run n8n separately if you choose to add external workflow automation.
Access your CRM. Navigate to your domain in the browser and create your administrator account. Customermates has no dedicated record-import workflow; plan any migration separately through documented APIs or a database procedure you validate.
Set up backups. Configure automated PostgreSQL backups and regularly test restoring them to protect your data.
The documentation covers everything from basic single-server setup to production-ready configurations with TLS, monitoring, and reporting dashboards.
Yes, but the entitlements and migration path differ. You can evaluate the cloud version, then plan a move to self-hosting. Customermates has no dedicated CRM-record import/export workflow; migration requires a separately designed and validated API or database procedure.
A Linux server with Docker installed is sufficient. The minimum requirements are 4 GB RAM and 2 CPU cores for teams up to 50 users. Customermates uses PostgreSQL as its database and ships as Docker containers, so any Docker-capable environment works, including VPS providers, on-premise servers, and private cloud platforms.
The AGPL core can be self-hosted without a Customermates subscription. Self-hosted users manage their infrastructure and updates, and the product is fixed to Starter entitlements: core CRM, API, webhooks, and MCP. The unified messaging inbox and read-only calendar view are cloud-only from Pro. n8n remains separate, and white-label branding is a negotiated Enterprise item that is not implemented.
Updates are delivered as new Docker images. Pull the latest image, restart your containers, and the application handles database migrations automatically. You control when to update, giving you time to test new versions in a staging environment before rolling them out to production.
Self-hosting lets you configure TLS, network controls, backups, and access around the application. A self-hosted installation sends no Sentry data unless you configure a Sentry DSN, but that narrower fact is not a blanket no-telemetry guarantee. Review the code and every configured provider; the unified inbox and calendar view remain cloud-only.
Yes. Self-hosted Customermates includes the documented API, webhooks, MCP, and community node. Connect a separate n8n instance if you want visual workflows; its runtime, providers, credentials, limits, logs, and costs remain separate. The unified inbox and read-only calendar view are cloud-only.
Deploy Customermates on infrastructure you control, or start with the cloud version free for 7 days on Pro. Core record management, sales tracking, API, webhooks, and MCP are available self-hosted; workflow automation requires a separate engine, while the unified inbox comes only with cloud Pro.
Deploy Customermates on your servers or start with the cloud version. Your data, your rules, your infrastructure.
✓ No credit card required ✓ First 7 days free