Deploy relaticle

The open source CRM built for people and AI-powered work.

Deploy relaticle

redis-relaticle

redis:8.2

Just deployed

/data

Just deployed

/var/www/html/storage/app

Just deployed

Just deployed

Just deployed

/var/lib/postgresql/data

Deploy and Host relaticle on Railway

Relaticle is an open-source, self-hosted CRM built for people and AI-powered work. It ships with built-in AI chat (Rela) plus an MCP server with 37 tools, so agents like Claude, ChatGPT, Cursor, and Gemini can read and update your CRM. Manage people, companies, opportunities, tasks, and notes with a customizable data model (22 field types), multi-workspace support, role-based permissions, CSV import/export, and a REST API. AGPL-3.0 licensed, 2,000+ automated tests, shipping weekly.

About Hosting relaticle

Relaticle is a Laravel application distributed as a single Docker image (ghcr.io/relaticle/relaticle). This template mirrors the official compose.yml and deploys five services: the web app, a Horizon queue worker, a scheduler, Postgres, and Redis. The web app exposes port 8080 with a /up healthcheck, mounts a volume at /var/www/html/storage/app for uploaded files, and runs database migrations automatically on deploy. Horizon and the scheduler run the same image with custom start commands and share all configuration with the web app through Railway variable references, so the only value you need to supply is APP_KEY. Email defaults to the log mailer; set MAIL_MAILER=smtp and fill in the SMTP variables to send real mail.

Common Use Cases

  • Self-hosted CRM for sales and customer teams who want full ownership of their data
  • Agent-native CRM: connect Claude, ChatGPT, or any MCP client to create and update records
  • Open-source alternative to Attio, HubSpot, Twenty, or EspoCRM

Dependencies for relaticle Hosting

  • PostgreSQL (provisioned by this template as pg-relaticle)
  • Redis for cache, sessions, and queues (provisioned by this template as redis-relaticle)
  • An APP_KEY (Laravel encryption key) supplied at deploy time

Implementation Details

Generate an APP_KEY before deploying:

php -r "echo 'base64:'.base64_encode(random_bytes(32)).PHP_EOL;"

Or without PHP installed:

echo "base64:$(openssl rand -base64 32)"

Service layout:

ServiceImageStart command
relaticleghcr.io/relaticle/relaticledefault (web server on 8080)
horizonghcr.io/relaticle/relaticlephp /var/www/html/artisan horizon
schedulerghcr.io/relaticle/relaticlephp /var/www/html/artisan schedule:work
pg-relaticlepostgres-ssldefault
redis-relaticleredisdefault

AUTORUN_ENABLED is true on the web app only, so migrations run once per deploy rather than on every container.

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

redis-relaticle

redis:8.2

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
45
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51