---
title: "Deploy ERPNext v16"
description: "ERPNext v16 ERP: MariaDB, Redis, nightly + encrypted S3 backups"
category: "Other"
url: https://railway.com/deploy/erpnext-v16-1
---

# Deploy ERPNext v16

ERPNext v16 ERP: MariaDB, Redis, nightly + encrypted S3 backups

**[Deploy ERPNext v16 on Railway](https://railway.com/template/erpnext-v16-1)**

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

- **Creator:** talharamzan's Projects
- **Category:** Other

## Template content

### ERPNext

- **Source:** TalhaRamzan/railway-erpnext-v16
- **Health check:** /api/method/ping
- **Public domain:** Yes

### Redis

- **Image:** redis:8.6.8@sha256:8b30009c0de4fdb3fb67deb8afab050fe454e9b233c6a2c142ec34fcc51fa7f5
- **Start command:** `/bin/sh -c "chown -R redis:redis /data 2>/dev/null; exec docker-entrypoint.sh redis-server --requirepass \"$REDIS_PASSWORD\" --appendonly yes --dir /data"`

### MariaDB

- **Source:** TalhaRamzan/railway-erpnext-v16

## Documentation

# 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 `Administrator` with the `ADMIN_PASSWORD` variable on the `ERPNext` service, 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 save `BACKUP_S3_PASSWORD` somewhere 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._


## 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/erpnext-v16-1
