Skip to main content

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:

OptionNotes
Helm chartdeploy/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 runtimeThe 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​

ComponentNotes
PostgreSQLPostgreSQL 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 providerAny 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.

PropertyDetail
Environment variableLICENSE_KEY
FormatJWT signed with RS256
Issuer (iss)QuantumBPM
Claimsorg (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.

SettingDetail
Environment variablePROVISIONING_PATH
Default pathprojects.yaml (relative to the working directory, / in the image)
IdempotencyRe-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_KEY is set, signed, and not expired. Without it, the binary exits during startup.
  • OIDC_ISSUER is reachable. The backend fetches the discovery document ({issuer}/.well-known/openid-configuration) and aborts if it can't.
  • OIDC_CLIENT_ID (or OIDC_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_PARTITIONS is unset or matches the database. The partition count is fixed when the engine first starts on a database, see Engine → Partitions.
  • PROVISIONING_PATH is present and well-formed (default projects.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) - returns 200 while the process is up. Intentionally dependency-free: a Postgres blip must not restart the pod.
  • /readyz (readiness) - returns 200 only once startup has completed and Postgres answers and takes writes. A failure returns 503 so 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.

ConcernSetting
Path prefixREST_API_CONTEXT serves the API under a prefix, such as /api/v1.
HTTPSForward X-Forwarded-Proto: https so the backend sends Strict-Transport-Security.
Worker long pollsA 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 editorThe 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.
CORSList the console's origin in REST_ALLOWED_CORS_ORIGINS when it is served from another host than the API.

Next steps​