Run Brunel yourself
Build Brunel from a reviewed source revision, configure its own database and secrets, and operate a hardened standalone container.
Brunel's Dockerfile builds the Next.js standalone server and runs it as an unprivileged user. Self-hosting is separate from the hosted AWS production service and its Enterprise pilot cells.
Build from reviewed source
Check out the exact revision you reviewed, install Docker and build locally:
docker build -t brunel:local .The former ghcr.io/kymrapro-del/stratum:0.1.0 instructions are historical. Do not assume that image is available, current, signed or equivalent to the hosted service. An SBOM, attestation or SLSA claim must be verified against the particular artifact that will run.
For a shared environment, publish to a registry you control, scan the image and use its immutable @sha256: digest. Keep the reviewed source revision and scan results with the release. A mutable local tag is for development, not an immutable production reference.
Local demo
For an isolated development machine only:
docker run --rm -p 127.0.0.1:3000:3000 -e BRUNEL_DEMO_MODE=1 brunel:localThe demo uses in-memory data and is not a customer environment. It does not provision private Git hosting, workflow runners or customer cloud targets.
Persistent deployment
Use a dedicated PostgreSQL database, secure runtime configuration and an HTTPS reverse proxy. Consult configuration. Never copy the hosted service's credentials or reuse its data store for tests.
docker run --rm --name brunel -p 127.0.0.1:3000:3000 \
--read-only --tmpfs /tmp \
--tmpfs /app/.next/cache:uid=1000,gid=1000 \
--cap-drop ALL --security-opt no-new-privileges \
--env-file ./brunel.env brunel:localKeep brunel.env out of version control, restrict its file permissions, and replace local env files with the deployment platform's secure secret injection in production. Set AUTH_URL to the real HTTPS origin and configure the identity providers you actually use. __Host- cookies cannot be shared between subdomains; use the supported browser-bound session relay.
The reverse proxy must overwrite trusted client/host/protocol headers; never trust arbitrary client-supplied forwarding headers or expose the container directly. Run migrations and verify readiness according to the selected runtime. Preserve encrypted backups and test restoration before storing customer data.
Native Enterprise Code and workflow execution require additional isolated services and their acceptance gates. Starting the web container alone does not activate those features. See product status.