Open Enterprise
Browse topics
DocumentationDeployment

Compact installation

Use compose.compact.yaml for the standard development installation. It runs the application, engine, and PostgreSQL. The optional mail profile supplies a development inbox and SMTP relay. The optional events profile runs the example lifecycle consumer; the runtime event feed itself needs no extra process. Local identity, native permissions, administration, machines, and the embedded issuer need no external identity or policy service.

Shell
docker compose -f compose.compact.yaml --profile mail up -d --build --wait
docker compose -f compose.compact.yaml exec runtime enterprise-runtime enroll /app/config.yaml \
  --email owner@example.test --organization org_demo --organization-name "Example Studio" --initial-owner

The CLI prints a one-use enrollment link. It does not need SMTP. Open it, choose a password, then sign in at http://localhost:3000. Use the optional inbox at http://localhost:8025 for email verification and password recovery. Select Account security to enroll TOTP and save recovery codes. Select Open administration for the engine-served React console.

The configuration serves org_demo and org_partner in one engine. Customer authority stays scoped to the selected organization. The operator authorizes the first owner. To add a colleague, open Administration → People, choose their role, and create an invitation. Send the copyable link or use the configured SMTP relay. Their email address must match the invitation when they register and accept. Reissue replaces a lost or expired link. The compact starter uses invitation-only registration. compose.local.yaml remains the separate public-signup fixture.

For disconnected installations, the offline kit packages the runtime, console and PostgreSQL with verified image identities and an enrollment and restore drill.

Operator recovery

Create a trusted-origin recovery link without mail:

Shell
enterprise-runtime account config.yaml recover --user usr_example --reset-factors
enterprise-runtime operator-entry config.yaml --operator operations

Run the first command only for the person whose recovery the operator authorized. Resetting factors revokes existing account authority through the existing account lifecycle. The second command opens the separate, 15-minute deployment console. The CLI already holds database and configuration access; it requires no browser operator key.

Build and hosting

The runtime image builds the SDK, React library, and console in a Node build stage. Its final image serves static files and runs the Rust engine. Node is not an administration runtime dependency. ENTERPRISE_ADMIN_ASSETS_DIR can select another built console directory. The application still runs on its own chosen backend.

Use HTTPS and separate runtime, application, and migration database roles in production. Replace every public development credential and master key. Configure an SMTP relay when people need email flows. The Helm chart accepts the same runtime configuration map and existing Secret references.

Disposable host acceptance fixture

For faster development with the same real components:

Shell
npm ci
npm run build
cargo build --locked -p enterprise-runtime
docker compose up -d postgres
node scripts/dev-embedded.mjs

The launcher creates new databases, two engine replicas, the application, the mail fixture, and an example lifecycle consumer. The consumer is demonstration infrastructure for lifecycle delivery, not an engine authorization dependency. It prints its evidence directory and preserves databases when stopped. Press Ctrl-C to stop only those fixture processes. It does not start an identity or decision service. Run browser acceptance in another terminal:

Shell
EMBEDDED_FIXTURE=1 npm run test:e2e:embedded

Install Playwright Chromium first, or set PLAYWRIGHT_EXECUTABLE_PATH to an installed browser. For a separate self-hosted fixture, set unique ports and a separate fixture descriptor:

Shell
EMBEDDED_RUNTIME_PORT=8090 EMBEDDED_APP_PORT=3014 EMBEDDED_SMTP_PORT=2526 \
  EMBEDDED_MAIL_PORT=8026 EMBEDDED_FIXTURE_FILE="$PWD/work/selfhost.json" \
  node scripts/dev-embedded.mjs

Use that descriptor, runtime origin, application origin, and mail origin when running its browser suite. The same package and business integration serve both deployments. Stop the launcher before removing its disposable databases. Never use a fixture teardown command against a customer database.

Complete acceptance and restart

In a dedicated development environment, build both workspaces, install Playwright Chromium, then run:

Shell
npm run test:e2e:embedded:all

The driver checks cloud tenants, native SAML, OIDC/MCP, machine automation, package installation, vendor controls and panels, and a separate self-hosted installation. It tests two replicas, database failure, runtime restart, and real backup/restore. It starts an independent Keycloak IdP only for the federation phase. It stops that IdP when it started it. A pre-existing Keycloak process stays under its owner's control. After stopping its IdP, it verifies that SSO fails while independent local recovery still opens administration. Use EMBEDDED_OWN_IDP=1 only when that existing fixture also belongs to this test run. The self-hosted configuration contains no IdP or decision-provider dependency.

The driver owns and stops its child processes on success or failure. It preserves databases, private development key material and backups under ignored work/ paths. Only work/embedded-evidence/ contains the sanitized report and screenshots intended for retention. Do not upload raw databases, assertion payloads, token stores or environment files as CI artifacts.

For a focused restart, stop the launcher first, then reuse its descriptor and signing material:

Shell
EMBEDDED_REUSE_FIXTURE=1 node scripts/dev-embedded.mjs

For the independent React consumer, run npm run test:react:consumer, then start the launcher with:

Shell
ENTERPRISE_ADMIN_ASSETS_DIR="$PWD/examples/react-embedding/dist" \
  EMBEDDED_REUSE_FIXTURE=1 node scripts/dev-embedded.mjs

Use the same EMBEDDED_FIXTURE_FILE, SMTP port and application/runtime ports when restarting a separate fixture. Run focused suites with that descriptor and its RUNTIME_ORIGIN, APP_ORIGIN, and MAIL_ORIGIN. The complete driver supplies those values itself.

The Helm chart defaults to local accounts, native permissions, direct SAML administration, the issuer and static React assets. Supply its required *_env values through existing Kubernetes Secrets. Configure administration.saml_signing_key_env and saml_signing_certificate_env when an IdP requires signed authentication requests. The runtime serves the frontend inside the same image; no Node portal deployment is required.

The CI job also boots the actual compact containers with a fresh volume and runs the browser journeys. For an owned Compose test project, verify durable state through a real runtime container restart:

Shell
COMPOSE_PROJECT_NAME=oe-compact-verification node scripts/test-compact-restart.mjs

Run the compact browser journey against that project first. The restart check compares memberships, permission state, and machine identity, then verifies live access and credential revocation.

Search documentation