
Deploy Relaticle
Open-source CRM with an AI assistant and MCP server for your AI agents
Just deployed
/var/lib/postgresql/data
Relaticle
Just deployed
/var/www/html/storage/app
Redis
Just deployed
/data
Deploy and Host Relaticle on Railway
Relaticle is an open-source CRM for small teams. It keeps companies, people, opportunities, tasks and notes in one workspace, with custom fields, CSV imports, email sync and a built-in AI assistant. A REST API and an MCP server let your AI agents read and update the CRM. This template runs Relaticle 3.12.0 (AGPL-3.0).
About Hosting Relaticle
Relaticle is a Laravel app that needs PostgreSQL for its data, Redis for cache, sessions and queues, a queue worker, the Laravel scheduler and Reverb, a websocket server that streams the assistant's replies. This template runs the official image with nginx, PHP-FPM, one queue worker, the scheduler and Reverb in one service that shares one volume for uploads, imports and OAuth keys. Railway's Postgres and Redis sit next to it on the private network. On first boot it waits for both databases, runs the migrations under a lock and creates your admin account from the email you enter and a generated password. One prompt, one HTTPS URL, working on the first deploy.
Common Use Cases
- Track companies, contacts, deals and follow-up tasks for a sales or partnerships team
- Let AI agents (Claude, ChatGPT or your own) look up and update CRM records through the MCP server or REST API
- Run a self-hosted CRM on your own infrastructure instead of a per-seat SaaS
Dependencies for Relaticle Hosting
- PostgreSQL (Railway's PostgreSQL service)
- Redis (Railway's Redis service)
Deployment Dependencies
- Relaticle source and docs: https://github.com/relaticle/relaticle
- Relaticle 3.12.0 release: https://github.com/relaticle/relaticle/releases/tag/v3.12.0
- Template repository: https://github.com/aalfath/relaticle-railway-template
Implementation Details
Services in this template:
- Relaticle (public): the official
ghcr.io/relaticle/relaticle:3.12.0image, pinned by digest. nginx and PHP-FPM serve the CRM. The queue worker, scheduler and Reverb (at/reverbon the same domain) run beside them under s6. Uploads, imports, exports and Passport keys live on a volume at/var/www/html/storage/app. Health check/up. - Postgres: all CRM data, on a volume.
- Redis: cache, sessions, queues and locks, on a volume.
After deploy:
- Wait until
Relaticleshows Active (first boot takes about a minute). - Open its public URL and sign in with the
ADMIN_EMAILyou entered. The password is in theADMIN_PASSWORDvariable on theRelaticleservice. The account is also the system administrator at/sysadmin. - Enter your name and a workspace name, then finish the short setup wizard or click Get started.
- Optional: add
ANTHROPIC_API_KEYorOPENAI_API_KEYtoRelaticleto turn on the AI assistant, and SMTP variables (MAIL_MAILER=smtp,MAIL_HOST, ...) to send invitations and email. Mail goes to the log until then.
Sign-up is open as in upstream's self-hosted build, but new accounts must verify their email, so nobody else can get in until you configure SMTP.
The app service fits Railway's 0.5 GB RAM / 1 vCPU per-service limit (tested: about 0.34 GB under load, no OOM kills). The service builds from the template's GitHub repo. When we release a new Relaticle version there, Railway shows an update notice on your project: read the CHANGELOG, back up Postgres, then apply it. Migrations run automatically.
Why Deploy Relaticle 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 Relaticle 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.
Template Content
Relaticle
aalfath/relaticle-railway-templateADMIN_EMAIL
Email address for the first admin account (you sign in with it).
Redis
redis:8.2