Deploy Invio
Self-hosted invoicing: clients, invoices, PDF and e-invoice export
Just deployed
/app/data
Deploy and Host Invio on Railway
Invio is a small, open-source invoicing app for freelancers and small businesses. You keep a list of clients and products, write invoices and quotes, export them as PDF or e-invoices (Factur-X / ZUGFeRD, UBL 2.1, FatturaPA), share a read-only link with your client and mark invoices as paid. It's released into the public domain (Unlicense).
About Hosting Invio
This template runs Invio v2.5.0 as one Railway service built from a public GitHub repo that pins the official image by digest. The Deno backend and SvelteKit frontend run in the same container; the frontend serves the public URL. A volume at /app/data keeps the SQLite database, logos and invoice templates across redeploys. There's nothing to fill in: the admin password and session secret are generated. After the deploy, open the service's Variables tab, copy ADMIN_PASS, and sign in as admin at your Railway URL. Change the password under Settings afterwards. It fits Railway's 0.5 GB plan (about 190 MB at peak, PDF export included).
Common Use Cases
- Freelancers and consultants sending invoices and quotes as PDF or share links
- Small businesses that need e-invoices such as Factur-X / ZUGFeRD, UBL (PEPPOL) or FatturaPA
- Keeping clients, products, tax rates and payment status in one place you own
Dependencies for Invio Hosting
- Invio v2.5.0 (official
ghcr.io/kittendevv/invioimage, pinned by digest), with WeasyPrint for PDF rendering - A Railway volume for the SQLite database; no separate database service is needed
Deployment Dependencies
- Invio source and releases: https://github.com/kittendevv/Invio/releases/tag/v2.5.0
- Invio documentation: https://github.com/kittendevv/Invio/wiki
- Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/invio-railway-template
Implementation Details
Services in this template:
- Invio: the web app (frontend on
PORT8000, backend on loopback port 3000), health check/login, volume/app/data.
Variables: ADMIN_USER (default admin), ADMIN_PASS and JWT_SECRET (generated), PORT (8000). The admin account is created from them on the first boot only.
Optional features you can add as variables later: email sending (SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, EMAIL_FROM_ADDRESS) and single sign-on (OIDC_ENABLED=true, OIDC_ISSUER_URL, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_REDIRECT_URI=https://YOUR-DOMAIN/auth/callback). Login attempts are rate limited (5 failures per 15 minutes).
If the app process stops unexpectedly, the container exits with an error and Railway restarts it. Updates: when the template repo moves to a new Invio release, Railway shows you an "update available" notice; read the repo's CHANGELOG.md, then apply it. Invio migrates its database on start, so your data stays.
Why Deploy Invio 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 Invio 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
