Railway

Deploy ERPNext v16

Deploy and Host ERPNext with Railway

Deploy ERPNext v16

redis-queue

redis:6.2-alpine

Just deployed

/data

redis-cache

redis:6.2-alpine

Just deployed

Just deployed

/var/lib/mysql

Just deployed

/home/frappe/frappe-bench/sites

Deploy and Host ERPNext on Railway

What is ERPNext?

ERPNext is a free, open-source ERP (Enterprise Resource Planning) system designed for small and medium businesses. Built on the Frappe framework, it provides integrated modules for accounting, HR, CRM, inventory, manufacturing, and project management.

About Hosting ERPNext

Hosting ERPNext involves deploying the Frappe framework along with its essential services: MariaDB for data storage, Redis for caching and queuing, and a reverse proxy like Nginx.

On Railway, you can containerize ERPNext, configure environment variables, and attach persistent storage volumes for durability.

Service Overview

frappe-service-overfiew

Common Use Cases

  • Running a centralized ERP system for small to mid-sized companies.

Deployment Guide

  1. Deploy this template to Railway.
  2. [Optional] Configure volume backups for both Frappe and MariaDB volumes. See Railway Backups Documentation for details.

Dependencies for ERPNext Hosting

  • MariaDB – Database backend.
  • Redis – Caching and job queue management.

Deployment Dependencies

Why Deploy ERPNext 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 ERPNext 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.

FAQ / Limitation

Q: What is administrator password?

A: Admin password can be found from RFP_SITE_ADMIN_PASSWORD variable on erpnext-docker container.

--

Q: Why is Supervisor used?

A: Railway currently limits each volume to a single service. Since multiple ERPNext services need to access the same volume, Supervisor is required to coordinate and share volumes across services (as of 2025-09-15).

Ref: Railway | Shared Volumes

--

Q: Why use slightly older versions of Redis?

A: We use the versions defined in the official Frappe Docker images to ensure maximum compatibility with ERPNext and its dependencies.

Ref: Frappe-Docker | pwd.yml


Template Content

More templates in this category

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

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

Letta
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser