Brume · Docs
Dev environment

Enable Enterprise Edition (devcontainer)

Move your development environment from Community to Enterprise: what it adds, how to enable it, how to roll back.

In brief

Move your devcontainer from Community to Enterprise with one idempotent command, no reopen or rebuild needed. Roll back to Community at any time, without touching your data.

The devcontainer starts in Community Edition (CE) by default, identical for everyone. Moving to Enterprise (EE) is a deliberate and reversible progression: a single idempotent command, no reopen or rebuild needed.

Why an explicit opt-in?

A devcontainer must converge to the same state for every developer. EE is therefore not a choice made on first launch, but a step you take when you need it, and that you can undo at any time.

What it adds to your environment

The Community / Enterprise editions page provides the canonical feature matrix. The table below only describes devcontainer wiring.

LayerCE (default)EE (after activation)
Backendcommunity routes/features+ gateway server, billing, white-label, edition info
Infra (services)Postgres, MinIO, and Lago already running but unusedsame services; Lago enabled (plans provisioned + backend wiring)
Runtime editionBRUME_EDITION=communityBRUME_EDITION=enterprise + BRUME_DEV_EDITION=1
Secrets—Lago auto-wired by post-create.sh

Dev override, not a signed license

In development, EE is enabled through BRUME_DEV_EDITION=1: the environment edition is authoritative, without a license (see core/src/brume/editions.py). In production, the edition is controlled by a signed Ed25519 license. BRUME_EDITION=enterprise without a valid license automatically falls back to community.

Enable

make enterprise-on

This command is idempotent: it declares the desired state in the canonical environment file (.env), with no cumulative side effect if you run it again.

  • .env → BRUME_EDITION=enterprise, BRUME_DEV_EDITION=1

That's it. The backend, with hot reload, picks up the change on its own — no reopen or rebuild needed. Lago is already running inside the devcontainer's nested Docker daemon: there is no stack to start, the command only switches the backend's edition flags.

No compose profile or COMPOSE_PROFILES: in dev, the edition is controlled solely by BRUME_EDITION / BRUME_DEV_EDITION in .env.

Verify

The welcome terminal displays Edition: enterprise. On the API side, EE routes (gateway, subscription, platform admin, etc.) are registered, and post-create.sh generates the Lago secrets then wires the backend (LAGO_API_URL=http://lago-api:3000).

Return to Community

make enterprise-off

Resets BRUME_EDITION=community and BRUME_DEV_EDITION=0 in .env; the backend hot-reload switches back to Community on its own. The Lago services (nested Docker daemon) keep running — harmless when EE is disabled. Your data is not touched.

Go further

To run the real enterprise stack (images built from this repo, signed license), see the make enterprise-build / make enterprise-up targets and the ee/local-stack/ folder.

On this page