---
title: "Deploy DeskcommCRM"
description: "Open-source WhatsApp sales CRM with AI agents, on self-hosted Supabase"
category: "Automation"
url: https://railway.com/deploy/deskcommcrm-1
---

# Deploy DeskcommCRM

Open-source WhatsApp sales CRM with AI agents, on self-hosted Supabase

**[Deploy DeskcommCRM on Railway](https://railway.com/template/deskcommcrm-1)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/deskcommcrm-1/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Automation

## Template content

### REST https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### DeskcommCRM https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template
- **Health check:** /login
- **Public domain:** Yes

### Postgres

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Auth https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### WAHA https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Worker https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Supabase https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template
- **Health check:** /health
- **Public domain:** Yes

### Scheduler https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### SRH https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Realtime https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

### Storage https://raw.githubusercontent.com/melgarafael/DeskcommCRM/v1.121.0/docs/brand/deskcomm-icon.svg

- **Source:** https://github.com/aalfath/deskcommcrm-railway-template

## Documentation

# Deploy and Host DeskcommCRM on Railway

DeskcommCRM is an open-source (MIT) sales CRM for businesses that sell over WhatsApp. It combines a shared inbox, sales pipelines, contacts and proposals with AI agents that answer, qualify and follow up leads. It runs on Supabase and connects to WhatsApp through WAHA, as an open alternative to Kommo, Octadesk and Intercom.

## About Hosting DeskcommCRM

Self-hosting DeskcommCRM means running the Next.js web app, an AI agent worker and a cron scheduler, plus a full Supabase backend: Postgres, Auth, PostgREST, Realtime, Storage and an API gateway. WhatsApp runs through WAHA, and Redis with an Upstash-compatible REST bridge handles rate limits. Upstream's installer applies a large SQL schema, seeds encryption keys and creates the first owner from a shell. This template does those steps at first boot, generates every secret, keeps the database, uploaded files and WhatsApp sessions on volumes, and makes public sign-up invite-only. You enter your e-mail, and the template creates the owner account from it.

## Common Use Cases

* A shared WhatsApp inbox where a sales team answers, assigns and follows up leads
* AI agents that reply to customers, qualify leads and schedule follow-ups around the clock
* Sales pipelines, proposals and cadences for small and medium businesses that sell by chat

## Dependencies for DeskcommCRM Hosting

* Supabase (Postgres 17, Auth, PostgREST, Realtime, Storage), included in the template
* WAHA for WhatsApp, Redis and an Upstash-compatible REST bridge, included in the template

### Deployment Dependencies

* DeskcommCRM source: https://github.com/melgarafael/DeskcommCRM
* Template repository: https://github.com/aalfath/deskcommcrm-railway-template
* WAHA: https://waha.devlike.pro
* An AI provider key (Anthropic, OpenAI or OpenRouter), which you can add later in the app

### Implementation Details

The template deploys 12 services. Two have public domains: `DeskcommCRM` (the CRM) and `Supabase` (the API gateway the browser uses for sign-in, data, Realtime and uploads). The gateway serves only the Auth, REST, GraphQL, Realtime and Storage routes; there is no Studio. The first boot takes a few minutes because it applies the schema.

After the deploy, open the `DeskcommCRM` domain and sign in with `OWNER_EMAIL` and the generated `OWNER_PASSWORD` from the `DeskcommCRM` service's Variables tab. Change the password, then connect WhatsApp by scanning the QR code and add an AI key. Sign-up is invite-only (`SIGNUP_MODE=so_convite`), and error reports to upstream's Sentry are off. Optional: `OWNER_ORG_NAME`, `APP_LOCALE` (`pt-BR` or `es`), `ANTHROPIC_API_KEY` or `OPENAI_API_KEY`, and `SMTP_*` or `RESEND_API_KEY` for e-mail, on `DeskcommCRM` and `Worker`. WhatsApp voice calls and the Asterisk phone line need UDP and are not included.

Every service except Redis builds from the template repository, so new DeskcommCRM releases reach you as an update notice in Railway. Read `CHANGELOG.md` before you apply one.

## Why Deploy DeskcommCRM on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying DeskcommCRM on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/deskcommcrm-1
