---
title: "Deploy Bigcapital"
description: "Open-source accounting, invoicing and reports. Alternative to QuickBooks."
category: "Other"
url: https://railway.com/deploy/bigcapital-1
---

# Deploy Bigcapital

Open-source accounting, invoicing and reports. Alternative to QuickBooks.

**[Deploy Bigcapital on Railway](https://railway.com/template/bigcapital-1)**

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

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Gotenberg https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/gotenberg.png

- **Source:** https://github.com/aalfath/bigcapital-railway-template
- **Health check:** /health

### MariaDB https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/mariadb.png

- **Source:** https://github.com/aalfath/bigcapital-railway-template

### Bigcapital https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/bigcapital.png

- **Source:** https://github.com/aalfath/bigcapital-railway-template
- **Health check:** /api/system_db
- **Public domain:** Yes

## Buckets

- **Bucket**

## Documentation

# Deploy and Host Bigcapital on Railway

Bigcapital is open-source accounting software for small businesses, an alternative to QuickBooks, Xero and Wave. It does double-entry bookkeeping, invoices, estimates, receipts, bills, expenses, inventory, bank accounts and multi-currency, and builds financial reports such as the balance sheet, profit and loss, cash flow and general ledger.

## About Hosting Bigcapital

This template deploys Bigcapital v0.25.46 from the official images, pinned by version and digest and built from a public GitHub repo. The Bigcapital service runs the API server and the web app behind one domain and runs database migrations on every start. MariaDB 11.4 LTS keeps the system database and one database per organisation on a volume. Railway Redis holds job queues and cache, Gotenberg renders invoices and reports as PDF, and a Railway Bucket stores attachments. Secrets and the database password are generated on deploy. You enter one value: your email address, the only one allowed to sign up.

## Common Use Cases

* Bookkeeping, invoicing and expense tracking for a small business or freelancer
* Financial reports (balance sheet, profit and loss, cash flow, trial balance) for one or more organisations
* A self-hosted alternative to QuickBooks or Xero that keeps your books on your own infrastructure

## Dependencies for Bigcapital Hosting

* MariaDB (system database and one database per organisation)
* Redis (job queues and cache)

### Deployment Dependencies

* Bigcapital: https://github.com/bigcapitalhq/bigcapital
* Template repo (Dockerfiles, changelog): https://github.com/aalfath/bigcapital-railway-template
* Gotenberg (PDF rendering): https://gotenberg.dev
* Railway Buckets (attachment storage): https://docs.railway.com/storage-buckets

### Implementation Details

**After deploy:** open the Bigcapital URL, choose **Sign up** and register with the email you entered in `SIGNUP_ALLOWED_EMAILS`. Nobody else can register. Then set up your organisation (name, country, base currency, fiscal year); Bigcapital builds its database in a few seconds.

**Optional settings** on the Bigcapital service: SMTP for user invites and emailed invoices (`MAIL_HOST`, `MAIL_PORT`, `MAIL_USERNAME`, `MAIL_PASSWORD`, `MAIL_SECURE`, `MAIL_FROM_NAME`, `MAIL_FROM_ADDRESS`), more allowed sign-ups (`SIGNUP_ALLOWED_EMAILS` as a comma-separated list, or `SIGNUP_ALLOWED_DOMAINS`), and exchange rates (`OPEN_EXCHANGE_RATE_APP_ID`).

**Updates:** Bigcapital, MariaDB and Gotenberg build from the template repo. When a new Bigcapital release has been tested, the pinned versions are bumped there and Railway shows an "update available" notice on your project. Read the repo's CHANGELOG.md, back up MariaDB, then apply it. Migrations run on start.

## Why Deploy Bigcapital 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 Bigcapital 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/bigcapital-1
