Skip to main content
← Back to Unimatrix

Deployment Options

Run Unimatrix as a managed cloud service, or self-host the entire stack on your own infrastructure. Same codebase, two paths.

Cloud vs. self-hosted, at a glance

 Managed CloudSelf-Hosted
Setup timeMinutes — sign up and generate an API keyHours — provision Postgres, run migrations, configure env vars
Infrastructure ownershipFully managed by UnimatrixYou own the servers, database, and uptime
Updates & patchesAutomaticYou pull and redeploy new releases yourself
Data residencyUnimatrix-managed Postgres + pgvectorStays entirely on your own infrastructure
Compliance / air-gapped useLimited — shared managed environmentFull control — suitable for regulated or offline environments
Cost modelFree / Pro / Enterprise subscriptionEnterprise plan + your own infra costs
Best forIndividuals and teams who want zero opsTeams with compliance needs or an existing ops function

Self-hosting requires the Enterprise plan. See pricing for details.

What self-hosting requires

  • Docker and Docker Compose (or equivalent container orchestration)
  • A PostgreSQL instance with the pgvector extension enabled
  • Someone on your team to own updates, backups, and database maintenance
  • Environment variables for encryption keys, auth secrets, and database connection strings — see the full list in the repo's setup guide

Self-hosting in outline

  1. 1

    Clone the repo and review the Docker setup

    git clone https://github.com/tjpoisal/UNIMATRIX.git
    cd UNIMATRIX
    cat DOCKER_SETUP.md
  2. 2

    Provision Postgres with pgvector

    Enable the extension once on your database, then run the raw SQL migrations before Prisma migrations:

    CREATE EXTENSION IF NOT EXISTS vector;
  3. 3

    Configure environment variables

    Set database URLs, encryption keys, and auth secrets consistently across every service. Full variable list is documented in the repo.

  4. 4

    Bring the stack up with Docker Compose

    docker compose -f docker-compose.prod.yml up -d

Full setup guide

The complete, up-to-date self-hosting instructions — including every required environment variable — live in DOCKER_SETUP.md in the repo.

Questions about self-hosting for your team? Email hello@deployunimatrix.com