The easiest way to run Operate in development is with Docker. This gives you a consistent, reproducible environment and an out-of-the-box integrated experience for experimenting with Zeebe and Operate.
To do this, you need Docker Desktop installed on your development machine.
The zeebe-docker-compose repository contains an operate profile that starts a single Zeebe broker with Operate and all its dependencies. See the README file in the repository for instructions to start Zeebe and Operate using Docker.
If you are using Docker, once you follow the instructions in the repository, skip ahead to the section "Access the Operate Web Interface”.
We will update this section after Operate is available for production use.
Running Operate with Kubernetes will be recommended for production deployments.
Here, we’ll walk you through how to download and run an Operate distribution manually, without using Docker.
Note that the Operate web UI is available by default at http://localhost:8080, so please be sure this port is available.
Note that each version of Operate is compatible with a specific version of Zeebe.
On the Zeebe release page, compatible versions of Zeebe and Operate are grouped together. Please be sure to download and use compatible versions. This is handled for you if you use the Docker profile from our repository.
Operate uses open-source Elasticsearch as its underlying data store, and so to run Operate, you need to download and run Elasticsearch.
Operate is currently compatible to Elasticsearch 6.8.13. You can download Elasticsearch here.
To run Elasticsearch, execute the following commands in Terminal or another command line tool of your choice:
You’ll know Elasticsearch has started successfully when you see a message similar to:
[INFO ][o.e.l.LicenseService ] [-IbqP-o] license [72038058-e8ae-4c71-81a1-e9727f2b81c7] mode [basic] - valid
To run Zeebe, execute the following commands:
You’ll know Zeebe has started successfully when you see a message similar to:
[partition-0] [0.0.0.0:26501-zb-actors-0] INFO io.zeebe.raft - Joined raft in term 0[exporter] [0.0.0.0:26501-zb-actors-1] INFO io.zeebe.broker.exporter.elasticsearch - Exporter opened
To run Operate, execute the following commands:
You’ll know Operate has started successfully when you see messages similar to:
DEBUG 1416 --- [ Thread-6] o.c.o.e.w.BatchOperationWriter : 0 operations lockedDEBUG 1416 --- [ Thread-4] o.c.o.z.ZeebeESImporter : Latest loaded position for alias [zeebe-record-deployment] and partitionId : 0INFO 1416 --- [ Thread-4] o.c.o.z.ZeebeESImporter : Elasticsearch index for ValueType DEPLOYMENT was not found, alias zeebe-record-deployment. Skipping.
The Operate web interface is available at http://localhost:8080.
The first screen you'll see is a sign-in page. Use the credentials
demo to sign in.
After you sign in, you'll see an empty dashboard if you haven't yet deployed any workflows:
If you have deployed workflows or created workflow instances, you'll see those on your dashboard: