ERPNext on Railway
Open-source ERP for accounting, inventory, sales and CRM, self-hosted on Railway.
ERPNext is an open-source ERP built on the Frappe framework. It covers accounting, inventory, selling, buying, manufacturing, projects and CRM in one system, and is used by small and mid-sized companies as an alternative to commercial ERP suites.
An install is more than one web app: it has a web server, a realtime server, background workers for short and long jobs, a scheduler, a MariaDB database and Redis. Hosting it yourself keeps financial and stock data on infrastructure you control.
ERPNext is licensed under GPL-3.0, and the Frappe framework underneath it is MIT. Payroll and HR live in the separate Frappe HR app, which is not part of the standard ERPNext image.
What ERPNext can do
- Accounting, invoicing and tax
- Inventory, warehouses and stock
- Selling, buying and order management
- CRM with leads, opportunities and quotations
- Manufacturing with bills of materials and work orders
- Projects and timesheets
- Background workers and scheduler
What people use it for
- Running accounting and invoicing for a small company
- Managing stock, purchasing and sales orders in one system
- Tracking leads through to quotations and billing
- Planning production with work orders
Videos
Running ERPNext on Railway
On Railway, the ERPNext template runs the official frappe/erpnext v16 image as one service (nginx, Gunicorn, socket.io, workers and scheduler under supervisord, owning the sites volume), next to MariaDB 11.8 and two Redis services for cache and queues. It creates the site on first boot with a generated Administrator password and runs the database migration after an image upgrade. RAM is the main cost driver; the template author measured about 400 MB for ERPNext and 300 MB for MariaDB idle right after boot, growing with users and workers.
ERPNext templates on Railway
Tracklayer templates are listed first. Other ERPNext templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about ERPNext
How do I log in for the first time?
Wait for the first deploy to finish, since site creation takes a few minutes. Sign in as Administrator with ADMIN_PASSWORD from the ERPNext service variables, then complete the setup wizard and change the password.
Is my data kept across redeploys?
Yes. The sites folder, MariaDB and the queue Redis each use a volume. The cache Redis has no persistence by design. You can also run bench backup --with-files from a Railway shell.
Does it include payroll or HR?
No. Frappe HR, which covers payroll, leave and attendance, is a separate app and is not in this image.
Can I run more than one replica?
No. The ERPNext service owns the sites volume, so it runs as a single replica. To scale, give it more memory and raise worker and Gunicorn settings.
How do I upgrade?
Change the ERPNEXT_VERSION build argument within the v16 line and redeploy; the migration runs once automatically. Back up first, and follow Frappe's upgrade notes for a major version change.
Guides
Similar apps
Tracklayer maintains the templates marked as such; ERPNext is a trademark of its owners and this site is not affiliated with them.