Skip to main content

Local Development with the Devserver Image

For trying QuantumBPM on your own machine - without requesting access and without standing up the full self-hosted stack - we ship a single Docker image that bundles every piece of the platform in one container. This is the fastest way to model a decision or run a BPMN process locally.

Not for production use

The devserver image is for local development and evaluation only. It runs with authentication disabled and an embedded single-node Postgres in the same container - neither is intended for production traffic, multi-project data, or anything you can't afford to lose. For real deployments self-host the production images with the Enterprise build.

Quickstart​

docker run --rm \
-p 9060:9060 \
-v quantumbpm-devserver:/var/lib/devserver \
hub.quantumbpm.com/quantumbpm-public/devserver:latest

Then open http://localhost:9060. The named volume keeps your projects, definitions, and execution history across container restarts. Drop the -v flag for a fully ephemeral run.

The first start takes a few extra seconds while embedded Postgres initializes its data directory. Subsequent starts against the same volume come up immediately.

What's Bundled​

The image ships three components inside one container:

ComponentPurpose
BackendThe full QuantumBPM REST API (DMN evaluation, the BPMN engine, history).
SPAThe web console, served from the same port as the API.
Embedded PostgresThe database, for the application and the BPMN engine. Data persists in DEVSERVER_DATA_DIR.

Authentication is disabled - every request is treated as the local developer, in the one dev project. There is no RBAC enforcement.

To act as another user, for example to test that an approver differs from the person who prepared the case, send a bearer JWT. The devserver takes its sub claim as the user without verifying the token, so an unsigned token is enough. Every other request, with no token or one that is not a JWT, is dev-user.

Configuration​

These environment variables are honored. Everything else is hardcoded inside the binary.

VariableDefault (in container)Purpose
DEVSERVER_PORT9060HTTP port the bundled server listens on. Remember to update the -p mapping if you change it.
DEVSERVER_DATA_DIR/var/lib/devserverWhere embedded Postgres persists state. Mount a volume here for cross-restart persistence.
LOG_LEVELinfodebug, info, warn or error.
LOG_FORMATtexttext or json log lines on stdout.

Example with a custom port and a host bind-mount:

mkdir -p ./qbpm-data
docker run --rm \
-e DEVSERVER_PORT=8080 \
-p 8080:8080 \
-v "$PWD/qbpm-data:/var/lib/devserver" \
hub.quantumbpm.com/quantumbpm-public/devserver:latest

Resetting State​

To wipe everything and start over:

docker volume rm quantumbpm-devserver

…or rm -rf the host directory if you bind-mounted instead.

When to Move Off the Devserver​

The devserver is the right tool when you want to:

  • Try the platform end-to-end on a laptop without internet roundtrips.
  • Demo a model offline.
  • Develop and debug an SDK integration against a real backend.

Move off the devserver when you want to:

  • Run QuantumBPM in production - the devserver disables authentication, runs a single-node embedded Postgres in the same process, and is not a supported production target.
  • Share a workspace across multiple users, with real projects and RBAC enforcement.
  • Persist execution history reliably across restarts of multiple replicas.
  • Get production support, an SLA, or compliance commitments.

For these, move to the self-hosted Enterprise build. Small projects, companies and research institutes can request access at support@quantumbpm.com.