Deploy AureusERP
Open-source Laravel ERP: accounting, inventory, sales, CRM, HR + MySQL
AureusERP
Just deployed
/var/www/aureuserp/storage
MySQL
Just deployed
/var/lib/mysql
Deploy and Host AureusERP on Railway
AureusERP is a free, open-source (MIT) ERP for small and medium businesses, built on Laravel and FilamentPHP. It covers accounting, invoicing, inventory, sales, purchases, CRM, projects, employees, time off, recruitment and more as plugins you install from its admin panel, so you only run the modules you need.
About Hosting AureusERP
AureusERP is a PHP 8.4 application that needs a web server, PHP-FPM, a MySQL database, a queue worker and a scheduler. This template builds the official webkul/aureuserp 1.8.0 image (pinned by digest) from a public GitHub repo and pairs it with Railway's MySQL over the private network. On the first boot it runs the official installer (migrations, seed data, roles and the first admin) once, under a database lock, which takes about two minutes. Uploads and other files live on a volume, so data survives redeploys. PHP is sized so both services fit 0.5 GB of RAM each.
Common Use Cases
- Run accounting, invoicing and payments for a small business in your own database
- Track inventory, purchases and sales orders in one place
- Manage employees, time off, timesheets, projects and recruitment
Dependencies for AureusERP Hosting
- MySQL 8 (Railway's MySQL service, included)
- A volume for uploaded files and app storage (included)
Deployment Dependencies
- AureusERP on GitHub: https://github.com/aureuserp/aureuserp
- AureusERP 1.8.0 release: https://github.com/aureuserp/aureuserp/releases/tag/v1.8.0
- Official Docker image docs: https://github.com/aureuserp/aureuserp/tree/master/docker/production
- Template repo: https://github.com/aalfath/aureuserp-railway-template
Implementation Details
The template deploys two services:
- AureusERP (public): nginx, PHP-FPM, the Laravel queue worker and the scheduler, built from
aalfath/aureuserp-railway-template. Health check/up. Storage volume at/var/www/aureuserp/storage. - MySQL: Railway's MySQL 8 with its own volume. All ERP data lives here.
Nothing needs to be filled in at deploy time. The admin password and the Laravel APP_KEY are generated, and the database settings are references to the MySQL service.
After deploying:
- Wait until the AureusERP service is green (about 2 minutes after the build on the first deploy).
- Open
https://YOUR-DOMAIN/adminand sign in withADMIN_EMAIL(defaultadmin@example.com) and the generatedADMIN_PASSWORD, both shown in the AureusERP service's Variables tab. - Change your email and password under your profile, then install the modules you need under Plugins.
Mail is off by default (emails go to the log). To send invitations and password resets, add MAIL_MAILER=smtp, MAIL_HOST, MAIL_PORT, MAIL_USERNAME, MAIL_PASSWORD and MAIL_FROM_ADDRESS to the AureusERP service.
Updates: when a new AureusERP release is tested, the pinned image in the template repo is bumped. Railway then shows an update notice on your project, and you choose when to apply it. New database migrations run on the next start. Back up the MySQL volume before a major upgrade.
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.
Template Content
AureusERP
aalfath/aureuserp-railway-templateMySQL
mysql:8