Self-hosting Abacus
Abacus can be self-hosted on your own infrastructure. This guide covers what you need to run the full platform.Architecture Overview
A self-hosted Abacus deployment consists of:Prerequisites
- Bun runtime
- Docker and Docker Compose
- A domain name with DNS access
- SSL certificates (or a reverse proxy like Nginx/Caddy)
Required Services
You’ll need accounts with the following services:Environment Variables
Each app requires its own.env.local file. Key variables include:
Dashboard (apps/dashboard/.env.local)
API (apps/api/.env.local)
See the
.env.example files in each app directory for the full list of required variables.Deployment Options
Option 1: Vercel (Recommended)
Deploy the dashboard and API as separate Vercel projects:Option 2: Docker
Build and run with Docker:Option 3: Any Node.js Host
Build and run on any platform that supports Node.js:Database Setup
- Create a Supabase project (cloud or self-hosted)
- Run all migrations:
- Seed initial data:
- Generate TypeScript types:
Post-Deployment
After deployment, configure:- Custom domain — Point your domain to the dashboard
- API domain — Point a subdomain (e.g.,
api.yourdomain.com) to the API - Email — Configure Resend with your sending domain
- Bank connections — Set up Plaid credentials for bank syncing
- Portal branding — Customize colors and logo in Settings > Portal