Brume · Docs
Installation

Enterprise on Docker Compose

Deploy the Enterprise stack with Docker Compose: licence, BRUME_EDITION=enterprise, the enterprise profile (Lago + Redis), and its secrets.

In brief

The same Compose stack as the Community Edition, with three differences: a signed licence, BRUME_EDITION=enterprise, and the enterprise profile that adds Lago (billing) and Redis — provided you have pre-generated their secrets in the .env.

This page assumes you have read the Docker Compose page: the file location (deploy/compose/docker-compose.yml), the root .env, the one-shot database-migrations service, the domain, and TLS all apply identically. It covers only what changes in Enterprise. What the edition activates, and how the licence is verified: Enterprise Edition.

Install the licence

The edition is decided at runtime, not at installation: BRUME_EDITION=enterprise without a valid licence silently falls back to Community. In the root .env:

BRUME_EDITION=enterprise
BRUME_LICENSE_KEY=<your signed licence token>
BRUME_LICENSE_PUBKEY=<the public key delivered with the licence>

The licence can also live in the backend container's /etc/brume/license.key file — the file wins over the variable. The token is verified locally, without any call to a licensing service; the details (obtaining, expiry, renewal) are in Enterprise Edition.

Pre-generate the Lago secrets

The enterprise profile starts Lago, its dedicated PostgreSQL database, and Redis. Lago requires its internal secrets before the first start — they govern the encryption of its database, and changing any one of them afterwards makes its data unreadable. In the root .env:

SECRET_KEY_BASE="$(openssl rand -hex 64)"
ENCRYPTION_PRIMARY_KEY="$(openssl rand -hex 16)"
ENCRYPTION_DETERMINISTIC_KEY="$(openssl rand -hex 16)"
ENCRYPTION_KEY_DERIVATION_SALT="$(openssl rand -hex 16)"
LAGO_RSA_PRIVATE_KEY="$(openssl genrsa 2048 2>/dev/null | base64 | tr -d '\n')"

Keep these values in your secret manager, like JWT_SECRET and APP_ENCRYPTION_KEY.

Build and start

Enterprise images are built from source: the backend and frontend Dockerfiles take BRUME_EDITION as a build argument, and the compose file passes it through.

cd deploy/compose
docker compose --profile enterprise build
docker compose --profile enterprise up -d

Without --profile enterprise, Lago and Redis do not start — the rest of the stack runs, and advanced billing stays inert. If you are wondering whether this profile concerns you, Billing with Lago says who it serves and how to leave it off.

Prebuilt ee-* images

The GHCR registry publishes Enterprise variants of the backend and the frontend (ghcr.io/brume-ai/brume-studio-backend:ee-latest, …-frontend:ee-latest); the worker and the documentation only exist in the Community edition, which is all they need. The compose file, however, applies a single tag (BRUME_IMAGE_TAG) to every service: it does not allow mixing ee-latest and latest. On Compose, the supported path is the build from source above; the ee-* images serve the Helm chart and orchestrators that set the image service by service.

Verify

docker compose --profile enterprise ps
curl -fsS http://localhost:8000/health

Every service should be Up (and database-migrations in Exited (0)). Then check the effective edition:

curl -fsS http://localhost:8000/api/ee/edition

The edition field must read enterprise. If it reads community, the licence was not accepted — the fallback is silent: check BRUME_LICENSE_KEY, BRUME_LICENSE_PUBKEY, and the backend logs at startup, as described in Enterprise Edition.

Next

The runbook, the backups, and the incidents on the Docker Compose page apply identically. The features the licence unlocks are detailed in Enterprise Edition.

On this page