Installation Guide

Deploy Clovar with Docker Compose

Five containers. Zero configuration. The complete AI workforce platform running on your infrastructure in under five minutes.

01

Prerequisites

You'll need the following installed on your machine:

  • Docker Desktop (or Docker Engine + Compose plugin on Linux)
  • Git to clone the repository
  • At least 4 GB RAM allocated to Docker
  • An Anthropic or OpenAI API key (for agent reasoning and embeddings) — or an Ollama instance for fully local inference
02

Clone the repository

Coming soon.

03

Create your environment file

Create a .env file in the platform/ directory:

# Postgres credentials (choose a strong password)
DB_PASSWORD=YourStrong!Passw0rd
DB_ROOT_PASSWORD=YourStrong!Passw0rd
DB_NAME=clovar-platform

# Optional: public URL and Caddy hostname
CLOVAR_BASE_URL=https://localhost
CLOVAR_HOSTNAME=localhost

# Optional: bundled Caddy reverse proxy profile (remove if you run your own proxy)
COMPOSE_PROFILES=caddy

The Postgres container provisions a clovar-service role on first boot using DB_PASSWORD. DB_ROOT_PASSWORD sets the postgres superuser password.

04

Start the stack

docker compose up -d

This starts the following services:

clovar-api REST API, Swagger, SignalR, Hangfire jobs
localhost:7091
clovar-web MVC dashboard with Tailwind CSS
localhost:7090
postgres PostgreSQL 16 relational store
localhost:15432
redis Cache, pub/sub, rate limiting
internal
qdrant Vector search with 1536d embeddings
internal
caddy Optional reverse proxy with automatic HTTPS
localhost:443

First boot takes about a minute while Postgres applies sql/schema.sql and the app containers compile. Tail progress with docker compose logs -f postgres.

05
06

Configure your AI provider key

On first launch, the setup wizard guides you through:

  • Creating your first business (tenant)
  • Adding your Anthropic or OpenAI API key (BYOK — you pay the AI provider directly)
  • Creating your first department
  • Deploying your first agent

A master API key is auto-generated on first run and saved to state/bootstrap-master-key.txt inside the API container. Use this for initial device pairing.

07

What's included (self-hosted)

Self-hosted Clovar is free and fully unlocked. No license keys, no feature gates:

Unlimited agents
Unlimited departments
Unlimited workflows
Workflow templates
All 20 tool categories
Graph + vector memory
Cost tracking & budgets
Full governance stack
Signed connector plugin runtime
MCP tool interop

Want managed hosting with AI inference included? Clovar Cloud is coming soon.

Need help?

If you run into issues or need guidance configuring the platform, get in touch.