---
title: "Deploy Krayin CRM"
description: "Open-source Laravel CRM for leads, pipelines and quotes. v2.2.8 + MySQL"
category: "Other"
url: https://railway.com/deploy/krayin-crm-1
---

# Deploy Krayin CRM

Open-source Laravel CRM for leads, pipelines and quotes. v2.2.8 + MySQL

**[Deploy Krayin CRM on Railway](https://railway.com/template/krayin-crm-1)**

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

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

## Template content

### Krayin CRM https://raw.githubusercontent.com/krayin/laravel-crm/v2.2.8/packages/Webkul/Admin/src/Resources/assets/images/mobile-light-logo.svg

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

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:8
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G`

## Documentation

# Deploy and Host Krayin CRM on Railway

Krayin CRM is a free, open-source CRM built on Laravel and Vue.js and released under the MIT licence. It manages leads in drag-and-drop sales pipelines, along with contacts, organizations, activities, quotes, products and email. It also includes web forms, workflow automation, marketing campaigns, data imports, roles and a REST API.

## About Hosting Krayin CRM

Krayin is a PHP 8.3 application that needs MySQL 8 and a writable `storage/` folder. This template builds Krayin v2.2.8 from a public GitHub repo, on the official PHP Apache image pinned by version and digest. It comes with Railway's MySQL. `storage/` (uploads, imports, sessions) and the database each have their own volume, so data survives redeploys. On the first start the container creates the tables, seeds Krayin's base data and creates your admin from `ADMIN_EMAIL` and a generated password before the web server opens. Later starts only run new migrations. A queue worker and the scheduler run in the same container.

## Common Use Cases

* Track leads through custom sales pipelines and stages, with values and expected close dates
* Keep contacts, organizations, calls, meetings, notes and emails in one shared CRM for a team
* Send quotes from a product catalog, capture leads with web forms, and import existing data from CSV

## Dependencies for Krayin CRM Hosting

* MySQL 8 (included: Railway's MySQL service)
* A volume for Krayin's `storage/` folder (included)

### Deployment Dependencies

* Krayin CRM source and release notes: https://github.com/krayin/laravel-crm/releases/tag/v2.2.8
* Krayin documentation: https://devdocs.krayincrm.com
* Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/krayin-railway-template

### Implementation Details

**After deploy:** open the Krayin CRM service's **Variables** tab and copy `ADMIN_PASSWORD`. Then sign in at `https://YOUR-DOMAIN/admin/login` with `ADMIN_EMAIL` and that password, and change the password under **Settings &gt; Users**. There is no default `admin@example.com` / `admin123` account, and the web installer is closed.

**Defaults:** `APP_KEY` and the admin password are generated for each deploy. Never change `APP_KEY` after deploy, or encrypted data becomes unreadable. Mail goes to the deploy log until you add SMTP variables (`MAIL_MAILER=smtp`, `MAIL_HOST`, `MAIL_PORT`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAIL_FROM_ADDRESS`). If you add a custom domain, set `APP_URL` to it. Timezone, locale and currency default to `UTC`, `en` and `USD`, and you can override them with `APP_TIMEZONE`, `APP_LOCALE` and `APP_CURRENCY`.

**Updates:** each new Krayin release becomes a commit to the template repo with a changelog entry. Railway then shows an "update available" notice in your project, and you choose when to apply it. Back up the MySQL volume first, because migrations only go forward.

## Why Deploy Krayin CRM 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 Krayin CRM 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

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

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