ONEWEB6.0Docs

Developer Guide 3 — Services and endpoints directory

19 min readDeveloper guides
Audiencea developer who knows JS/TS, SQL, HTTP and Docker but is new to ONEWEB 6.0. This is a lookup page, not a tutorial.
Sources this page was written from

CLAUDE.md; platform-dev/docker-compose.6.0.yml, docker-compose.yml, camel-hub-spike/docker-compose.yml, observability/docker-compose.observability.yml, deployer/README.md; .claude/launch.json; workbench/packages/*/rsbuild.config.ts; workbench/scripts/serve-remotes.mjs; kernel-poc/src/{http-server,db-config,connection-env,app-env,kernel-auth,kernel-gate,provision-*}.js; platform-dev/keycloak/README.md.

Facts marked "observed on this machine 2026-11-08" come from a credential-free curl probe made while writing this page. A plain HTTP probe cannot tell "down" from "listening but not HTTP" (Postgres, AMQP, Kafka, SFTP), so those were not probed. No secret value appears here; where a credential lives, only the file or vault path is named.

Siblings: dev-1-getting-started.md · dev-2-recipes.md · dev-4-api-and-mcp.md · dev-5-flows-connections-expressions.md · dev-6-refusals-troubleshooting.md


D3.1 The map in one screen#

flowchart LR U["Browser"] --> S["Workbench shell<br/>:3000"] S -->|"loads remotes"| R["Designers and consoles<br/>:3001-3020"] S -->|"PUBLIC_KERNEL_URL<br/>default :4600"| K["Kernel facade<br/>:4600 (:4500 default, :4611 enforced)"] K -->|"starts"| D["Deployer<br/>child process"] K -->|"event store"| P["Postgres 6.0<br/>:5437"] K -->|"sign-in"| KC["Keycloak :8095<br/>realms oneweb, oneweb-build, ttb"] K -->|"secrets"| V["OpenBao<br/>:8200"]
The control plane: Workbench, Kernel, identity and vault
flowchart LR A["Generated apps<br/>:3101 ..."] -->|"their data"| P["Postgres 6.0<br/>:5437"] A -->|"run history (OTLP)"| J["Jaeger<br/>:4318 and :16686"] A -->|"OW_BPM_URL"| E["BPM engine (Tomcat)<br/>:8889"] E -->|"bpm schema"| P5["Postgres 5.0<br/>:5432"] B["RabbitMQ :5673, Kafka :9094,<br/>MinIO :9100, SFTP :2222"] -->|"queue, event, file triggers"| H["Hub worker<br/>:4710"] H -->|"run history (OTLP)"| J V["OpenBao<br/>:8200"] -->|"secret values, read by hub:apply into hub.env"| H
The runtime: generated apps, BPM engine, Hub worker and run history

The worker itself holds no vault client: hub:apply reads the values from OpenBao and writes them into hub.env and secrets/. The OTLP arrows go to Jaeger, the direct path; which endpoint an Environment really exports to is its observability binding, and the optional collector (D3.3.2) can sit in between (not verified which one a given Environment uses).

Two Docker Compose projects matter. platform-dev/docker-compose.6.0.yml is project oneweb-60 (everything 6.0). platform-dev/docker-compose.yml is the 5.0 reference stack (engine, designers from 5.0, IAM2). A third small project, oneweb-camel-hub-spike, is the Hub worker, and oneweb-observability is an optional collector plus Prometheus.

D3.2 Which Postgres do I use#

oneweb-appdb oneweb-db
Port 5437 (container 5432) 5432
Image pgvector/pgvector:pg16 postgres:12
Compose file docker-compose.6.0.yml (service appdb) docker-compose.yml (service database)
Belongs to 6.0: Kernel event store (kernel.* schema), every generated app's tables, and Keycloak's own database (keycloak) 5.0 reference stack (schemas pd, mfd, page, iam2, asp, bpm, ...)
Bind address 5437:5432, all interfaces as written (the file's own header says "must never leave localhost") 5432:5432, all interfaces as written
Health docker exec oneweb-appdb pg_isready -U postgres (compose healthcheck is the same) same command with oneweb-db
Credentials A dev password is set in docker-compose.6.0.yml; the Kernel's default lives in kernel-poc/src/db-config.js and is overridden by PGHOST/PGPORT/PGUSER/PGPASSWORD/PGDATABASE (Kernel) and APPDB_HOST/APPDB_PORT/APPDB_USER/APPDB_PASSWORD/APPDB_NAME (generated apps' data) A dev password is set in docker-compose.yml

Rules of thumb:

  • The file backend (KERNEL_BACKEND=file, KERNEL_DATA) is for offline work and needs no Postgres.
  • Wiping the 5.0 stack (docker compose -f platform-dev/docker-compose.yml down -v) cannot reach oneweb-appdb. CLAUDE.md says this was proven by doing it.

D3.3 Directory#

Columns: what it is · address · started by · health check · credentials · depended on by · classic failure.

D3.3.1 Data and identity (compose project oneweb-60)#

Service What it is Address / bind Started by Health check Credentials live in Depended on by Classic failure and fix
Postgres 6.0 oneweb-appdb Kernel event store plus generated apps' data (pgvector) 5437 (host port; compose publishes without a host prefix) docker compose -f platform-dev/docker-compose.6.0.yml up -d appdb docker exec oneweb-appdb pg_isready -U postgres dev password in the compose file; app owner/reader/writer logins in the vault (Data Studio "Set up a database") Kernel, every generated app, Keycloak SET search_path drops public, so gen_random_uuid() stops resolving. Init scripts run only on an empty volume. jsonb returns keys in its own order: compare with canonical().
Keycloak 26.0 oneweb-keycloak Identity provider for apps, the Workbench and the engine 8095 (all interfaces as written; start-dev, dev only) compose ... up -d keycloak curl -s -o /dev/null -w "%{http_code}" http://localhost:8095/ gives 302 (observed on this machine 2026-11-08). Container health: management port 9000 /health/ready bootstrap admin and DB password are set in the compose file; per-realm scoped client secrets in the vault at kv/oneweb/platform/<realm>; the test AD's secrets at kv/oneweb/platform/testad Kernel sign-in, generated apps, BPM engine write-auth, Hub worker JWT checks Realm imports only when absent: editing realm-oneweb.json and restarting does nothing, you need down -v. A top-level clientScopes or authenticationFlows array in an import replaces the built-ins. Discovery advertises localhost:8095, unusable from inside containers, so pin the JWKS URL and iss separately.
OpenBao oneweb-openbao The vault: Hub secrets, policy API keys, per-app client secrets 127.0.0.1:8200 only compose, then cd kernel-poc && npm run vault:up (inits and unseals) curl -s "http://127.0.0.1:8200/v1/sys/health?sealedcode=200&uninitcode=200"; HTTP 404 on / observed 2026-11-08, which just means it answers gitignored platform-dev/openbao/init.json (root), hub-apply.approle.json (read-only Hub apply role), kernel-secrets.approle.json (write-only role). Paths: kv/oneweb/<workspace>/<env>/<KEY> and kv/oneweb/platform/... Hub apply, deploys, secret_set, policy_generate_key, restore In a fresh worktree the three AppRole JSON files and rabbitmq.env are missing; vault:up then fails with "initialized but init.json is missing" and reads like a vault bug. Copy them from the main checkout. A sealed vault after a restart: run vault:up again.
Jaeger 2.21 oneweb-jaeger Flow run history: one run is one OpenTelemetry trace OTLP gRPC 127.0.0.1:4317, OTLP HTTP 127.0.0.1:4318, UI/query 127.0.0.1:16686 compose curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:16686/ gave 200 (observed 2026-11-08); container check is :13133/status none (no login) flow_runs/flow_run tools, Operations console, apps and Hub as OTLP senders A store that does not answer is refused, never shown as "no runs". Runs are found by oneweb.flow.* attributes, not span names.
RabbitMQ 4 oneweb-rabbitmq The Hub's queues (queue trigger, publish step) AMQP 127.0.0.1:5673, management 127.0.0.1:15673 (not 5672, which is 5.0's oneweb-mq) compose, after provision-rabbitmq.js has written rabbitmq.env curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:15673/ gave 200 (observed 2026-11-08) admin login in gitignored platform-dev/rabbitmq/rabbitmq.env; the Hub's hub user and the kernel-dlq operator login are in the vault Hub worker, Failed items view Missing rabbitmq.env: provision-rabbitmq.js mints a new admin password and then gets 401 not_authorized from the broker holding the old one. A queue declared by hand with different arguments gets a 406 and stops the whole worker. maximumRetryAttempts=1 runs a failing message twice; only 0 is one attempt.
Kafka (apache/kafka 3.9.0, KRaft) oneweb-kafka The Hub's event trigger and publish step onto Kafka 127.0.0.1:9094 (PLAINTEXT, single node; in-network listener is kafka:9092) compose no healthcheck in the compose file; use a client against localhost:9094 (not verified) none (PLAINTEXT, no login) Hub worker via conn:hub-broker-kafka Do not rely on autoCommitEnable=false: the offset never advances without a manual-commit bean. A filter step that reads message fields must run after the inputs are seeded or every message silently takes the "no match" branch.
Mailpit oneweb-mailpit Dev SMTP sink for notify steps and Keycloak mail SMTP 1025, UI 8025 compose curl -s -o /dev/null -w "%{http_code}" http://localhost:8025/ gave 200 (observed 2026-11-08) none (accepts any auth) notify steps (npm run verify:smtp), Keycloak invitations A notify step with no Connection is only a labelled stub and sends nothing.
MinIO oneweb-minio S3-compatible object store for file triggers and baskets S3 9100 (container 9000), console 9101 compose curl -s -o /dev/null -w "%{http_code}" http://localhost:9101/ gave 200; :9100/ gave 403 (observed 2026-11-08) root login is set in the compose file; Connection secrets (..._ACCESS_KEY, ..._SECRET_KEY) in the vault Hub file triggers, file steps The aws2-s3 consumer cannot be trusted to move files (it keeps the whole key under the destination and re-reads failed objects forever), so the generated route moves the object itself.
SFTP (atmoz/sftp) oneweb-sftp Partner-drop server for file triggers 127.0.0.1:2222 compose, after provision-sftp.js (host key) no healthcheck; ssh -p 2222 with the pinned key (not verified) users in platform-dev/sftp/users.conf, keys in platform-dev/sftp/keys and client-keys (gitignored material, not shown) Hub file triggers A stale vault-pinned host key never raises an error an operator would see: readiness stays UP while files pile up unread. Re-run provision-sftp.js (idempotent, rewrites the vault pin).
Test AD oneweb-testad Samba AD DC standing in for TTB's directory no published ports; Keycloak reaches testad:389 profile testad; run provision-test-ad.js (it provisions and starts it) docker exec oneweb-testad samba-tool user list admin/bind passwords generated into the vault at kv/oneweb/platform/testad realm ttb A plain up never starts it (profile). Needs CAP_SYS_ADMIN; plain-LDAP binds are dev only.

D3.3.2 Control plane and tooling#

Service What it is Address / bind Started by Health check Credentials Depended on by Classic failure and fix
Kernel facade Typed-tool API over the event store (REST and MCP), authenticates and authorizes every write PORT env, default 4500; .claude/launch.json entry kernel uses 4600; entry kernel-enforced uses 4611. Binds 127.0.0.1 unless KERNEL_BIND is set (it warns when widened) node kernel-poc/src/http-server.js (launch configs kernel, kernel-enforced) curl -s -o /dev/null -w "%{http_code}" http://localhost:4600/ returns 404, which proves it answers: the facade serves no page (observed 2026-11-08). Startup log prints backend, auth and bindings status Keycloak token or session cookie. Env: KERNEL_BACKEND (pg default, file), KERNEL_REQUIRE_AUTH (default on), KERNEL_ENFORCE_BINDINGS (default off), KERNEL_PUBLIC_URL, OW_WORKBENCH_ISSUER (default .../realms/oneweb; kernel-enforced points it at oneweb-build), KERNEL_DEPLOYER=off Workbench, MCP clients, scripts Browser sign-in works only for callback ports the workbench Keycloak client registers (provision-workbench-client.js defaults to 4500, 4600, 4610): another port gives "Invalid parameter: redirect_uri". A call spanning two workspaces is refused, not guessed. A stale facade lacks newly added tools until restarted.
Workbench shell The Module Federation host 3000 pnpm -C workbench --filter @oneweb/workbench-shell serve (launch entry shell) curl http://localhost:3000/ gave 200 (observed 2026-11-08) none; sign-in is via the Kernel humans It points at PUBLIC_KERNEL_URL, default http://localhost:4600. serve is rsbuild preview: it serves a prebuilt dist/, so editing source changes nothing until pnpm --filter <pkg> build.
Designers and consoles The remotes, ports in D3.4 see D3.4 workbench-all launch entry (one process, serve-remotes.mjs) or one pnpm ... serve each each answers /mf-manifest.json (see D3.4) none shell rail Never rsbuild dev inside the shell: it breaks the React singleton (Cannot read properties of undefined (reading 'push')). The SDK is bundled into every remote, so rebuild all after an SDK change.
Deployer Executes queued Deployment Center runs no port; heartbeat row in kernel.deployer started automatically as a detached, supervised child of every Postgres facade; or npm run deployer; KERNEL_DEPLOYER=off disables. Containerized variant for Kubernetes/OpenShift only: docker compose -f platform-dev/deployer/docker-compose.yml up -d --build deploy_plan, deploy_start, deploy_status and the Deploy button say whether one is alive vault AppRoles (hub-apply.approle.json) Deploy On Windows a non-detached child dies with its parent; a facade restart lets a run in progress finish. A deployer started before a change must be restarted to get it. The containerized one never claims a local run.
Hub worker oneweb-camel-hub-spike Camel/Quarkus runtime for Flows the Hub runs (no Java source, only generated routes and config) 127.0.0.1:4710 to container 8080 only npm run hub:apply (never hand-edit hub.env or a --flow list); inputs from generate:camel, generate:hub-env curl http://localhost:4710/q/health/ready. curl / gave 404 (observed 2026-11-08, so something is bound there) platform-dev/camel-hub-spike/hub.env and secrets/ (generated, gitignored), values from the vault Hub-only flows, decision/render sidecar Quarkus starts with an unset datasource credential (only readiness goes down). Readiness does not list routes: "exactly these routes run" is read from the startup log. An SFTP consumer with a missing directory takes readiness DOWN; with a wrong host key it does not. A failed apply reverts only to a provable last-good state.
OTel collector and Prometheus Optional observability pair collector OTLP 127.0.0.1:4327 (grpc), 4328 (http); Prometheus 127.0.0.1:9190 docker compose -f platform-dev/observability/docker-compose.observability.yml up -d Prometheus / gave 302 (observed 2026-11-08); collector not probed none the Dev repoint of the Hub and app OTLP endpoints (recent commit 5426188 says it is done; details not verified) Joins network oneweb-60_default as external: start the 6.0 stack first.

D3.3.3 BPM engine and 5.0 stack (platform-dev/docker-compose.yml)#

Container Port Notes
oneweb-db (Postgres 12) 5432 Holds the bpm schema the engine uses. See D3.2.
oneweb-pr-tomcat (service process-runtime) 127.0.0.1:8889 The BPM engine (BPMREST on Tomcat 10.1). Writes need a token carrying the bpm-engine-caller realm role (OW_ENGINE_AUTH: enforce, JWKS pinned to host.docker.internal:8095). Logs: bpmrest.log plus WARN and above in docker logs. curl / gave 404 on 8889 (observed 2026-11-08). The shell also has a built-in default for the engine address. Apps reach it through env OW_BPM_URL (derived from Environment.engine).
oneweb-pm-tomcat 8888 Process Monitor (5.0).
oneweb-mfr-tomcat 8890 Microflow Runtime.
oneweb-pd-tomcat 8891 Process/Microflow Designer (5.0).
oneweb-asp-tomcat 8892 app-space (5.0).
oneweb-ad-tomcat 8893 app-designer (5.0).
oneweb-iam2-tomcat 8894 IAM2. Needed as an OIDC facade for support-desk's logins only.
oneweb-mq (profile dpc) 5672, 15672 5.0 broker. Not the Hub's.

D3.4 Workbench ports (from each package's rsbuild.config.ts server.port)#

Port Package Port Package
3000 apps/shell (host) 3009 designer-dashboard
3001 designer-process 3010 designer-integration
3002 designer-data-model 3011 designer-security
3003 designer-page 3012 console-work-portal
3004 designer-shell 3013 console-operations
3005 designer-design-system 3016 console-workspace
3006 designer-decision 3017 console-data-studio
3007 designer-forms 3019 designer-glossary
3008 designer-content 3020 console-app-designer

Other ports in .claude/launch.json: appx-editor-host is 3021 (a separate AppX repo cloned at D:/Workspace/AppX, needs its own docker stack). marketing-site is 4330, los-mock is 4621 (one global scenario; concurrent TTB runners corrupt each other's cases).

The documentation site is its own service, docs on 3030: container oneweb-docs, built from docs/Dockerfile (Node builds the site from docs/*.md, Caddy serves it), published on 127.0.0.1 only.

After a docs change, run the same up -d --build docs again; there is no volume and no state. DOCS_SITE_HOME (a build argument, default http://localhost:4330/, must end in /) is where the docs header's "Website" link points.

  • The Workbench opens it from the ⌘K quick jump: type docs, help, ports, api or error. Its address is the shell's PUBLIC_DOCS_URL (build-time, default http://localhost:3030; changing it needs a shell rebuild).
  • The website (marketing-site) links to it when built with PUBLIC_DOCS_URL set, for example PUBLIC_DOCS_URL=http://localhost:3030/ npm run build; the nav, footer and every inner-page docs link then point there and the site no longer ships its own copy. Unset, the site still publishes a copy at /docs/, as before.
  • Without Docker, the docs entry in .claude/launch.json (npx serve docs/site -l 3030, after node docs/build-site.mjs) serves the same pages on the same port. Run one or the other, not both.

Gaps in numbering (3014, 3015, 3018) have no package in the config I read.

serve-remotes.mjs serves every built dist/ that has a port, from one process, and skips ports already in use. The shell fetches each remote's mf-manifest.json cross-origin, which is why it sends CORS headers.

D3.5 Generated apps#

Each app is its own Next.js project in generated/<app>/, started with next start -p <port> (launch entries) or its own npm run dev/npm start via scripts/ow-serve.mjs.

Launch entry Port Directory
generated-app 3101 generated/loan-onboarding
support-desk 3102 generated/support-desk
personal-loan 3103 generated/personal-loan
ttb-los / -alt / -v12 3105 / 3115 / 3125 generated/ttb-los
generated-app-verify 3141 second loan-onboarding instance
support-desk-fixture 3143 support-desk against fixture issuer :4700
generated-app-strict 3144 loan-onboarding with OW_ROLE_STRICT_CLIENT=true

None of the 31xx ports answered an HTTP probe on 2026-11-08 (observed; the apps were simply not running then).

Failures that recur:

  • Regenerating under a live next dev is refused (--while-running overrides); under a live next start sources are written but .next is untouched. Dev builds into .next-dev, production into .next.
  • Without OW_ENGINE_CLIENT_ID/SECRET every Work Portal write fails closed.
  • Deploys from the Local driver run apps as host processes in .deploy/<ws>/<env>/{a,b}/<app> with NODE_ENV=production.

D3.6 Keycloak realms#

Realm Purpose Who signs in Notable clients / roles How it is made
oneweb The original shared realm; end-user (application) realm and engine realm App end users and the dev fixtures; the Kernel's default OW_WORKBENCH_ISSUER app clients support-desk, loan-onboarding, ...; engine caller bpm-engine-caller (role of the same name); scoped oneweb-identity; oneweb-mcp, CLI client (provision-cli-client.js, defaults to this realm via KEYCLOAK_REALM) imported from platform-dev/keycloak/realm-oneweb.json only when absent; later clients by provisioning scripts
oneweb-build Control plane: builders who sign in to the Workbench and the Kernel The six or so builders; stricter authentication policy than the app realm workbench public PKCE client (redirects to the Kernel's /api/auth/callback), build directory and accounts service clients (OW_BUILD_DIRECTORY_CLIENT_*, OW_BUILD_ACCOUNTS_CLIENT_*) npm run provision:build-realm, provision:build-directory, provision:build-realm-factors; point the Kernel at it with OW_WORKBENCH_ISSUER=http://localhost:8095/realms/oneweb-build (as kernel-enforced does)
ttb An organisation's realm, federated read-only to the test AD TTB personas roles per app process work party; scoped oneweb-identity client provision-org-realm.js --org ttb, after provision-test-ad.js; apps follow with migrate-app-realm.js

An app's realm is App.identity.realm, else its environment's (appRealm in app-env.js). The build realm and an application realm have different signing keys: an application token cannot verify against the build realm's JWKS.

D3.7 Bring it all up, in order#

flowchart LR A["1 Local secrets<br/>and npm install"] --> B["2 6.0 stack<br/>compose up"] B --> C["3 Vault<br/>npm run vault:up"] C --> D["4 Rebuild state<br/>npm run restore"] D --> E["5 Realms<br/>and clients"] E --> F["6 5.0 stack<br/>for the engine"] F --> G["7 Kernel facade<br/>and deployer"] G --> H["8 Workbench<br/>:3000"] H --> I["9 Generated app<br/>(optional)"] I --> J["10 Hub worker<br/>(optional)"]
Bring-up order

The diagram is the order the list below uses, not a strict dependency chain: npm run restore itself runs vault:up and provisions what it finds in Keycloak, skipping a realm that does not exist yet, so realms and clients (step 5) can also be made before it.

  1. Local secrets present? In a fresh worktree copy platform-dev/openbao/{init,hub-apply.approle,kernel-secrets.approle}.json and platform-dev/rabbitmq/rabbitmq.env from the main checkout. Run npm install in kernel-poc.
  2. 6.0 stack: docker compose -f platform-dev/docker-compose.6.0.yml up -d (Postgres, Keycloak, MinIO, Mailpit, OpenBao, Jaeger, SFTP, RabbitMQ, Kafka; testad is a profile). RabbitMQ needs rabbitmq.env first (provision-rabbitmq.js writes it).
  3. Vault: cd kernel-poc && npm run vault:up.
  4. Rebuild 6.0 state: npm run restore (idempotent; refuses an edited-and-changed artifact on purpose, resolve with node src/seed-adopt.js <id>).
  5. Realms and clients as needed: provision:build-realm, provision:workbench-client, provision:build-directory; TTB only: provision-test-ad.js, provision-org-realm.js --org ttb.
  6. 5.0 stack for the engine (only if you run processes): docker compose -f platform-dev/docker-compose.yml up -d (database, process-runtime; IAM2 only for support-desk).
  7. Kernel facade: node kernel-poc/src/http-server.js with PORT=4600 KERNEL_BACKEND=pg (the kernel launch entry). This also starts the deployer.
  8. Workbench: build the packages, then node workbench/scripts/serve-remotes.mjs (or the workbench-all launch entry). Open http://localhost:3000.
  9. Generated app (optional): generate:app-env, then start it on its port (D3.5).
  10. Hub worker (optional): generate:camel, generate:hub-env, hub_deploy, then npm run hub:apply.

D3.8 Environment variable names#

Names only. Values are derived: Connections and the Workspace Environment are translated by hub-config.js and app-env.js; secrets come from the vault.

Naming rule (connection-env.js): a secret ref such as vault:credit-bureau/api-key becomes VAULT_CREDIT_BUREAU_API_KEY (upper-cased, non-alphanumerics to _). A policy's key is POLICY_<ID>_API_KEY, and during rotation POLICY_<ID>_API_KEY_PREVIOUS.

Concern Generated app (nextjs) Hub worker (camel-quarkus)
Inbound identity OW_JWT_ISSUER, OW_JWT_AUDIENCE, optional OW_JWKS_URL, OW_OIDC_DISCOVERY_URL OW_OIDC_SERVER_URL (where the JWKS is fetched), OW_JWT_ISSUER (the iss compared)
Login client OW_OIDC_CLIENT_ID, OW_OIDC_CLIENT_SECRET; admin portal OW_ADMIN_CLIENT_ID, OW_ADMIN_CLIENT_SECRET; role namespace OW_ROLE_CLIENT_ID, OW_ROLE_CLIENT_UUID; OW_ROLE_STRICT_CLIENT n/a
Own address OW_APP_URL n/a
Run history OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_SERVICE_NAME, OW_RUN_WORKSPACE, OW_RUN_ENVIRONMENT, OW_RUN_PAYLOAD OW_OTLP_ENDPOINT, OW_RUN_SERVICE, OW_RUN_WORKSPACE, OW_RUN_ENVIRONMENT, OW_RUN_PAYLOAD
Engine OW_BPM_URL, OW_ENGINE_CLIENT_ID, OW_ENGINE_CLIENT_SECRET, OW_ENGINE_TOKEN_ISSUER n/a
Sidecar (decision/render) HUB_SIDECAR_KEY (the app exposes its own evaluator) HUB_SIDECAR_BASE_URL, HUB_SIDECAR_KEY
Decision runtime n/a DECISION_RUNTIME_URL, DECISION_RUNTIME_KEY (convention in connection-env.js)
Database DATABASE_URL (the app's own database) per Connection: <HOST>_JDBC, plus _USER and _PASSWORD names
Replay n/a OW_REPLAY_CLIENT_ID, OW_REPLAY_CLIENT_SECRET are read by the Kernel from the vault, not set on a worker
Kernel identity clients OW_IDENTITY_CLIENT_ID/SECRET, OW_BUILD_DIRECTORY_CLIENT_ID/SECRET, OW_BUILD_ACCOUNTS_CLIENT_ID/SECRET are Kernel-side, read from the vault same

Per Connection kind, the Hub worker gets split names (..._USER, ..._PASSWORD; objectStore _ACCESS_KEY, _SECRET_KEY; sftp adds a host-key variable and, for key auth, a file under /secrets named from the Connection id, since a PEM cannot travel through env_file). The in-app runtime gets one secret name instead. A soap, amqp, sftp or kafka Connection has no in-app convention at all; asking for one throws.

Other names you will meet: PORT, KERNEL_BIND, KERNEL_BACKEND, KERNEL_DATA, KERNEL_TENANT, KERNEL_REQUIRE_AUTH, KERNEL_ENFORCE_BINDINGS, KERNEL_PUBLIC_URL, KERNEL_DEPLOYER, KERNEL_ENGINE_ENV (default Dev), OW_WORKBENCH_ISSUER, PUBLIC_KERNEL_URL (shell build), KEYCLOAK_URL, KEYCLOAK_REALM, OW_BUILD_REALM, PGHOST/PGPORT/PGUSER/PGPASSWORD/PGDATABASE, APPDB_*.

Per-machine files holding secrets exist (generated/<app>/.env.local, platform-dev/camel-hub-spike/hub.env, platform-dev/hub-secrets.dev.env, platform-dev/dialects.dev.env); open them yourself, they are not reproduced here.

D3.9 Notes on the documentation itself#

  • The header of docker-compose.6.0.yml and a comment in kernel-poc/src/restore-6.0.js still say the Kernel's event store lives in the 5.0 oneweb-db on :5432. db-config.js (default port 5437) and CLAUDE.md say it is on :5437. This page follows the code.
  • .claude/launch.json gives 3020 to both mocks and console-app-designer.
  • docs/part-8-developer-guide.md lists the 6.0 stack as "Postgres :5437, Keycloak :8095, OpenBao, Jaeger, RabbitMQ, Kafka, Mailpit"; the compose file also starts MinIO and SFTP.
  • Not verified: Kafka and SFTP liveness commands, the OTel collector's health, the exact binding of ports published without a host prefix (5437, 5432, 8095, 9100, 9101, 1025, 8025, 8888, 8890-8894), which are written without 127.0.0.1 and so bind all interfaces under Docker's defaults.