Deploy ERPNext v16
ERPNext v16 ERP: MariaDB, Redis, nightly + encrypted S3 backups
Just deployed
/home/frappe/frappe-bench/sites
Redis
Just deployed
/data
Just deployed
/var/lib/mysql
Deploy and Host ERPNext v16 on Railway
ERPNext is a full open-source ERP (accounting, invoicing, inventory, sales, purchasing, manufacturing, projects, HR) built on the Frappe framework: a self-hosted alternative to Odoo, SAP Business One or NetSuite.
About Hosting ERPNext v16
This template runs the official ERPNext 16.60 image pinned by digest in one lean container (web, socket.io, worker, scheduler and nginx under supervisord) with MariaDB 11.8 and Redis. The site is created automatically on first boot, nightly backups are written to the volume, and an optional encrypted copy can go to any S3 bucket (R2, B2, AWS, Railway). A one-command restore script is included.
Common Use Cases
- Accounting, invoicing and inventory for a small or medium business
- Replacing Odoo/SAP licences with a flat infrastructure bill
- Manufacturing, purchasing and project tracking in one system
Dependencies for ERPNext v16 Hosting
- MariaDB 11.8 with Frappe settings (included, private network)
- Redis (included, private network)
Deployment Dependencies
- Upstream: https://github.com/frappe/erpnext and https://github.com/frappe/frappe_docker
- Template repo with backup/restore and troubleshooting guide: https://github.com/TalhaRamzan/railway-erpnext-v16
Implementation Details
- First boot creates the site (5–10 minutes). Log in as
Administratorwith theADMIN_PASSWORDvariable on theERPNextservice, then run the setup wizard. Public sign-up is off. - Nightly backups keep the last 3 on the volume. For an off-site copy add
BACKUP_S3_REPOSITORY,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY(and saveBACKUP_S3_PASSWORDsomewhere safe). - Email uses SMTP, which Railway blocks on Hobby; use Pro or an SMTP relay.
- Expect roughly $12–20/month on Railway for a small team (~1 GB RAM idle).
Why Deploy ERPNext v16 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 v16 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.
Unofficial community template, not affiliated with Frappe. ERPNext is GPL-3.0 licensed.
Template Content
