Skip to main content

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

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

  1. Create a Supabase project (cloud or self-hosted)
  2. Run all migrations:
  3. Seed initial data:
  4. Generate TypeScript types:

Post-Deployment

After deployment, configure:
  1. Custom domain — Point your domain to the dashboard
  2. API domain — Point a subdomain (e.g., api.yourdomain.com) to the API
  3. Email — Configure Resend with your sending domain
  4. Bank connections — Set up Plaid credentials for bank syncing
  5. Portal branding — Customize colors and logo in Settings > Portal