---
title: "Deploy AureusERP"
description: "Aureus ERP: open-source ERP for accounting, inventory, CRM, HR and projects"
category: "Other"
url: https://railway.com/deploy/aureus-erp
---

# Deploy AureusERP

Aureus ERP: open-source ERP for accounting, inventory, CRM, HR and projects

**[Deploy AureusERP on Railway](https://railway.com/template/aureus-erp)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/aureus-erp/manifest.json

- **Creator:** Two Workspaces
- **Category:** Other

## Template content

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

- **Image:** mysql:8.4.13
- **Start command:** `docker-entrypoint.sh mysqld --datadir=/var/lib/mysql/data --performance-schema=OFF --skip-log-bin --innodb-buffer-pool-size=64M --table-open-cache=400 --table-definition-cache=400`

### AureusERP https://raw.githubusercontent.com/two-workspaces/aureuserp/main/icon.svg

- **Image:** ghcr.io/two-workspaces/aureuserp:92cfa00
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host AureusERP on Railway

[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/aureus-erp?referralCode=sLjDXb&utm_medium=integration&utm_source=button&utm_campaign=aureuserp)

AureusERP (Aureus ERP) is an open-source ERP built on Laravel and FilamentPHP. One admin panel covers accounting and invoicing, sales and purchases, inventory, CRM, projects and timesheets, employees, time off and recruitment, and you install only the modules you need from its plugin manager. This template runs AureusERP 1.8.0 on Railway with its own MySQL database, uploads on a volume, the queue worker and scheduler running, and your admin account created on the first boot.

This is a community template, not made or supported by the AureusERP authors.

## About Hosting AureusERP

Deploy and open the Railway domain. The first boot creates the database, which takes a minute or two; a page says so and reloads by itself. Then sign in at `/admin` with `ADMIN_EMAIL` (set it to your email before deploying) and the generated `ADMIN_PASSWORD`, both on the AureusERP service's Variables tab. Change the password under your profile afterwards; the two variables are only used to create the account on the first boot.

**Why the admin is created for you:** AureusERP's own Docker image ships with an installed database and a fixed `admin@example.com` / `password` login. On a public address that is an open door, so this template throws that database away, installs a fresh one in the MySQL service and creates only the admin from your variables. There is no public sign-up; further users are added by the admin from the Users page.

**Modules:** a new server has the core only. Open Plugins in the admin panel and install what you need (Accounting, Invoices, Sales, Purchases, Inventory, CRM, Projects, Employees, Time Off, Recruitment, Website, Point of Sale and more). Installing a module creates its tables and takes from a few seconds to about a minute; a module's dependencies are installed with it. The Website and Blogs modules add a public site at the root address, with customer sign-up at `/register`: install them only if you want that. The `/pos` address answers with an error until the Point of Sale module is installed.

**Memory:** both services start on 0.5 GB: AureusERP then runs fewer web workers and works the queue every 15 seconds. Signing in, installing nine modules from the admin panel and creating records worked at that size in testing, with AureusERP at about 350 MB and MySQL at about 375 MB, so there is little room left; give each service 1 GB or more for real work. Under 400 MB AureusERP shows a "needs more memory" page instead of crashing.

**Email:** emails (password resets, invitations) are written to the service's Deploy Logs until you set up SMTP, so a forgotten admin password can still be reset by requesting a reset and opening the link from the logs. For real email add `MAIL_MAILER=smtp`, `MAIL_HOST`, `MAIL_PORT`, `MAIL_USERNAME`, `MAIL_PASSWORD` and `MAIL_FROM_ADDRESS` as variables on the AureusERP service. Railway allows outbound SMTP on the Pro plan and above.

**Your data:** everything you enter is in the MySQL service's volume. Uploaded files (attachments, logos, product images) are on the AureusERP volume at `/var/www/aureuserp/storage`. Redeploys keep both. `APP_KEY` encrypts stored secrets and signs sessions: never change it after the first boot.

**Custom domain:** add it under the AureusERP service's Settings > Networking (port 80), set `APP_URL=https://erp.example.com` (no trailing slash) and redeploy.

**One instance only:** the scheduler and queue run inside the service, so don't scale it to more than one replica.

## Common Use Cases

- Running accounting, invoicing, sales and purchases for a small company without a per-user SaaS fee
- Tracking stock across warehouses with the Inventory module, next to purchase and sales orders
- A CRM pipeline, projects and timesheets for a service business on one login
- HR for a growing team: employees, departments, time off and recruitment
- A Laravel and Filament base to extend with your own plugins, deployed from day one

## Dependencies for AureusERP Hosting

- MySQL 8.4 (included)
- An SMTP account, if AureusERP should send email (optional)

### Deployment Dependencies

- [AureusERP on GitHub](https://github.com/aureuserp/aureuserp)
- [AureusERP website](https://aureuserp.com)
- [AureusERP developer documentation](https://devdocs.aureuserp.com)
- [Template source](https://github.com/two-workspaces/aureuserp)

### Implementation Details

- **Services:** AureusERP (nginx, PHP-FPM 8.4, the queue worker and the scheduler in one container) and MySQL 8.4 on Railway's private network. MySQL is not reachable from the internet.
- **Image:** upstream's official `webkul/aureuserp:1.8.0`, pinned, run in its external-database mode, plus a small entrypoint. The MySQL server and database baked into that image are removed and never started.
- **First boot:** the entrypoint waits for MySQL, runs upstream's installer (`erp:install`) with your admin, and only then starts the web server. Later boots run pending migrations, so an upgrade is a redeploy of a newer image.
- **Secrets:** the admin password, `APP_KEY` and the database passwords are generated per deploy. Upstream's image carries one baked `APP_KEY` shared by everyone who runs it; this template never uses it. If `APP_KEY` is emptied, a replacement is generated once and kept on the volume.
- **Never crash-looping on a variable:** if MySQL isn't answering, `ADMIN_EMAIL` isn't an email address, the install fails or memory is too low, the service shows a page saying what to fix, and the deploy logs say the same.
- **Sized to the plan:** PHP-FPM workers are capped from the service's memory limit, and the scheduler runs `schedule:run` once a minute instead of keeping a 100 MB process resident. MySQL runs with a 64 MB buffer pool and small table caches.
- **Plugin installs take effect at once:** upstream's image tells PHP never to re-read changed files, which left newly installed modules answering 404 until a restart; this template turns the check back on.
- **Errors in the logs:** application errors go to the service's Deploy Logs, not to a file on the volume.

## Why Deploy AureusERP 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 AureusERP 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/aureus-erp
