Deployment
This page covers what you need to stand up an Enterprise deployment and what happens on first boot. For ongoing operation see Operations.
Deployment shapes
The Enterprise binary ships as a container image. Two paths are supported today:
| Option | Notes |
|---|---|
| Helm chart | deploy/helm/quantumbpm-enterprise deploys the backend + SPA to Kubernetes/OpenShift. This is the recommended path - see the chart's README.md and values-example.yaml. It is published at oci://hub.quantumbpm.com/quantumbpm/charts/quantumbpm-enterprise. |
| Any container runtime | The image runs anywhere - k8s, Nomad, ECS, bare VMs with systemd. If you need help with a production Kubernetes deployment, contact support@quantumbpm.com. |
The BPMN engine runs inside the backend on the same PostgreSQL database, so there is no other service to deploy. See Engine.
The backend and the SPA send Content-Security-Policy, X-Frame-Options: DENY, X-Content-Type-Options: nosniff and Referrer-Policy on every response, and Strict-Transport-Security when the ingress received the request over HTTPS (X-Forwarded-Proto: https). An ingress that adds the same headers sends them twice.
Image signatures and SBOMs
Every image is signed with cosign. Save this public key as cosign.pub:
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2jQoQe5S0ELD5gXgerd1yffmSrRH
7uKrI8oxMqZdSTENZTXU2XirRg5UU3IUNrAh6GQcLPVo6s1KD3vPsekdUg==
-----END PUBLIC KEY-----
The signatures are not recorded in the public Sigstore transparency log, so verification needs --insecure-ignore-tlog=true:
cosign verify --key cosign.pub --insecure-ignore-tlog=true \
hub.quantumbpm.com/quantumbpm/enterprise-backend:<version>
Each platform image carries a signed SPDX SBOM that lists its OS packages and libraries with their licenses. The SBOM is attached to the platform image, so look up that image's digest first:
image=hub.quantumbpm.com/quantumbpm/enterprise-backend
digest=$(docker buildx imagetools inspect "$image:<version>" --format '{{json .Manifest}}' \
| jq -r '.manifests[] | select(.platform.architecture == "amd64") | .digest')
cosign verify-attestation --key cosign.pub --insecure-ignore-tlog=true --type spdxjson "$image@$digest" \
| jq -r .payload | base64 -d | jq .predicate
The license and notice files of the bundled libraries ship with the images: under /licenses in the backend image, and at /third-party-licenses.txt in the SPA.
Required external components
| Component | Notes |
|---|---|
| PostgreSQL | PostgreSQL 17 or later. Schema migrations run automatically on every startup. It holds everything, so size it for your BPMN load (see Engine → Scaling). Extra shard databases spread the engine over more servers, see Scaling the engine. |
| OIDC provider | Any spec-compliant IdP - Keycloak, Okta, Auth0, Azure AD, Zitadel, etc. The discovery endpoint must be reachable from the backend at boot. |
License key
Enterprise deployments require a signed license JWT, presented at startup via LICENSE_KEY.
| Property | Detail |
|---|---|
| Environment variable | LICENSE_KEY |
| Format | JWT signed with RS256 |
Issuer (iss) | QuantumBPM |
| Claims | org (organization name), exp, iat |
Validation behavior:
- Startup - signature, issuer, and expiry are checked. Missing, invalid, or expired license → backend exits with a non-zero status code.
- Daily - every 24 hours the backend checks the expiry date it read at startup. Past it, the replica shuts down gracefully (readiness false → HTTP drain → engine hands back its partitions → exit 1).
- Fewer than 60 days left - a warning is logged at startup and once a day, so you have time to renew without an outage.
To obtain or renew a license, email support@quantumbpm.com. There is no self-service flow.
Project provisioning
The Enterprise binary reads a YAML file at startup to bootstrap the set of projects. This lets you reproduce identical environments across staging and production with a known, version-controlled project list.
| Setting | Detail |
|---|---|
| Environment variable | PROVISIONING_PATH |
| Default path | projects.yaml (relative to the working directory, / in the image) |
| Idempotency | Re-read on every startup. Projects whose IDs already exist are left untouched. |
The image ships /projects.yaml with one project, Enterprise Demo Project (10000000-0000-0000-0000-000000000001), which the default path finds. Point PROVISIONING_PATH at your own file to provision your projects instead.
Schema:
projects:
- id: "00000000-0000-0000-0000-000000000001"
name: "Loan Approval"
retention:
maxAge: 8760h
- id: "00000000-0000-0000-0000-000000000002"
name: "Risk Scoring"
Each entry needs an id (UUID) and name. The optional retention.maxAge keeps the project's ended instances for a different time than ENGINE_RETENTION_MAX_AGE, and 0s keeps them forever. Test runs still go after ENGINE_RETENTION_DRAFT_MAX_AGE. Unlike id and name, it applies on every startup. See Data retention. Other settings (members, RBAC) come from OIDC token claims at request time - see Authentication.
First-boot checklist
Each of these is checked at startup and will fail-fast (the backend won't come up) if it's wrong:
-
LICENSE_KEYis set, signed, and not expired. Without it, the binary exits during startup. -
OIDC_ISSUERis reachable. The backend fetches the discovery document ({issuer}/.well-known/openid-configuration) and aborts if it can't. -
OIDC_CLIENT_ID(orOIDC_AUDIENCES) is set. With neither, no token audience can be accepted, so the backend refuses to start rather than boot into a silent auth outage. - PostgreSQL is reachable and credentials are correct. Internal schema migrations run on boot, the engine's included.
- The database is new or already runs 2.x. A 1.x database fails the migrations. See Upgrading from 1.x to 2.0.
-
ENGINE_PARTITIONSis unset or matches the database. The partition count is fixed when the engine first starts on a database, see Engine → Partitions. -
PROVISIONING_PATHis present and well-formed (defaultprojects.yaml). A missing file is a warning and provisioning is skipped. A file that exists but is malformed/unreadable fails startup.
Once the boot checks pass, the backend serves the REST API on REST_API_PORT (default 8080) and metrics on REST_METRICS_PORT (default 9464) when ENABLE_OTEL=true.
Health endpoints
/healthz(liveness) - returns200while the process is up. Intentionally dependency-free: a Postgres blip must not restart the pod./readyz(readiness) - returns200only once startup has completed and Postgres answers and takes writes. A failure returns503so a load balancer drains the pod without restarting it, also while a proxy still routes to a primary that was demoted to a standby. Point your Kubernetes readiness probe here and liveness at/healthz.
Both are served at the root path on REST_API_PORT, whatever REST_API_CONTEXT is.
Reverse proxy
The backend serves plain HTTP on REST_API_PORT, so TLS ends at the ingress or proxy in front of it. The Helm chart routes the console and the API to separate hosts, ingress.frontend.host and ingress.backend.host.
| Concern | Setting |
|---|---|
| Path prefix | REST_API_CONTEXT serves the API under a prefix, such as /api/v1. |
| HTTPS | Forward X-Forwarded-Proto: https so the backend sends Strict-Transport-Security. |
| Worker long polls | A job poll is held for up to REST_WRITE_TIMEOUT minus 5 seconds, 55 seconds by default. Set the proxy's read timeout above that. |
| FEEL editor | The editor's language server runs over a WebSocket at /ws under the API prefix. Pass WebSocket upgrades through and list the console's origin in REST_ALLOWED_WS_ORIGINS. |
| CORS | List the console's origin in REST_ALLOWED_CORS_ORIGINS when it is served from another host than the API. |
Next steps
- Wire up your OIDC provider: Authentication
- See the full set of tunables: Configuration
- Size replicas and databases for your load: Scaling the engine
- Get observability and tuning right: Operations