---
title: "Deploy InvoicePlane"
description: "Open-source invoicing: clients, quotes, invoices and payments, with MariaDB"
category: "Other"
url: https://railway.com/deploy/invoiceplane-1
---

# Deploy InvoicePlane

Open-source invoicing: clients, quotes, invoices and payments, with MariaDB

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

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

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

## Template content

### InvoicePlane https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/invoiceplane.png

- **Source:** https://github.com/aalfath/invoiceplane-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

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

- **Image:** mariadb:11.8.9@sha256:e1d5495f445654134f226f55a41ce0da227116f6f27f283101f405c794d841fc
- **Start command:** `sh -c 'D=/var/lib/mysql/data; if [ -d $D ] && [ ! -d $D/mysql ]; then echo "removing a half-initialised MariaDB datadir"; rm -r $D; fi; exec docker-entrypoint.sh mariadbd --datadir=$D --innodb-buffer-pool-size=128M --max-connections=60 --performance-schema=OFF'`

## Documentation

# Deploy and Host InvoicePlane on Railway

InvoicePlane is a free, open-source invoicing application for freelancers and small businesses. It manages clients, quotes, invoices, recurring invoices, payments and tax rates, sends invoices by email, renders PDFs, and can produce e-invoices (ZUGFeRD/Factur-X, UBL and others). Clients can view and pay invoices online through a guest link.

## About Hosting InvoicePlane

InvoicePlane is a PHP application that needs a web server, a MySQL-compatible database and somewhere to keep uploaded logos, client files and archived PDFs. This template builds InvoicePlane v1.7.2 from the official release on PHP 8.2 with Apache, and runs MariaDB 11.8 next to it on Railway's private network, each with its own volume. On the first start it installs the database and creates the admin account from generated variables, with the web setup wizard turned off. Later starts apply database migrations automatically. A health check at `/healthz` confirms the app and database answer before traffic is routed.

## Common Use Cases

* Freelancers and consultants sending quotes and invoices and tracking payments
* Small businesses managing clients, products, tax rates and recurring invoices
* Sending invoices that clients can view, download as PDF and pay online

## Dependencies for InvoicePlane Hosting

* InvoicePlane service: Apache + PHP 8.2 built from the template's GitHub repo, with a volume at `/data` for uploads, sessions, logs and custom templates
* MariaDB service: MariaDB 11.8.9 with a volume at `/var/lib/mysql`, reached over the private network

### Deployment Dependencies

* InvoicePlane: https://invoiceplane.com and https://github.com/InvoicePlane/InvoicePlane
* Release used: https://github.com/InvoicePlane/InvoicePlane/releases/tag/v1.7.2
* Container settings: https://github.com/InvoicePlane/InvoicePlane/blob/v1.7.2/.github/docs/CONTAINER_DEPLOYMENT.md
* Template repo: https://github.com/aalfath/invoiceplane-railway-template

### Implementation Details

**After deploy:** open the InvoicePlane service's public URL and log in with `DEFAULT_ADMIN_EMAIL` (default `admin@example.com`) and the generated `DEFAULT_ADMIN_PASSWORD` from the InvoicePlane service's Variables tab. Change both under Settings &gt; User Accounts, then fill in System Settings (company details, currency, tax rates, email). The template asks for nothing at deploy time: database passwords, the encryption key and the admin password are generated.

**Variables:** `ENCRYPTION_KEY` encrypts stored SMTP and payment keys, so never change it after deploy. Set `IP_URL` (for example `https://invoices.YOUR-DOMAIN`) when you add a custom domain; otherwise the Railway domain is used. Email (SMTP) and online payments (Stripe, PayPal) are configured inside the app.

**Resources:** both services run within 0.5 GB of RAM each (tested with invoices and PDF generation); the app idles at about 50 MB and MariaDB at about 120 MB.

**Updates:** the InvoicePlane service builds from the template's GitHub repo. When we release a new InvoicePlane version there, Railway shows an "update available" notice on your project and you choose when to apply it; migrations run on the next start. Read the repo's CHANGELOG.md and back up the MariaDB volume first.

## Why Deploy InvoicePlane 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 InvoicePlane 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/invoiceplane-1
