-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Image versions ## | ||
CAMUNDA_PLATFORM_VERSION=8.4.0 | ||
ELASTIC_VERSION=8.8.2 | ||
POSTGRES_VERSION=14.5-alpine | ||
KAFKA_VERSION=7.4.3 | ||
|
||
## Configuration ## | ||
# By default the zeebe api is public, when setting this to `identity` a valid zeebe client token is required | ||
ZEEBE_AUTHENTICATION_MODE=none | ||
ZEEBE_CLIENT_ID=zeebe | ||
ZEEBE_CLIENT_SECRET=zecret | ||
JAVA_OPTIONS=-Xmx8192m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# This is a lightweight configuration with Zeebe, Tasklist, Operate, Elasticsearch and Kafka | ||
# It is not designed to be used in production. | ||
# See docker-compose.yml for a configuration that also includes Optimize, Identity, and Keycloak. | ||
version: '3' | ||
|
||
services: | ||
|
||
zeebe: # https://docs.camunda.io/docs/self-managed/platform-deployment/docker/#zeebe | ||
image: camunda/zeebe:${CAMUNDA_PLATFORM_VERSION} | ||
container_name: zeebe | ||
ports: | ||
- "26500:26500" | ||
- "9600:9600" | ||
environment: # https://docs.camunda.io/docs/self-managed/zeebe-deployment/configuration/environment-variables/ | ||
- ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME=io.camunda.zeebe.exporter.ElasticsearchExporter | ||
- ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_URL=http://elasticsearch:9200 | ||
# default is 1000, see here: https://github.com/camunda/zeebe/blob/main/exporters/elasticsearch-exporter/src/main/java/io/camunda/zeebe/exporter/ElasticsearchExporterConfiguration.java#L259 | ||
- ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_BULK_SIZE=1 | ||
# allow running with low disk space | ||
- ZEEBE_BROKER_DATA_DISKUSAGECOMMANDWATERMARK=0.998 | ||
- ZEEBE_BROKER_DATA_DISKUSAGEREPLICATIONWATERMARK=0.999 | ||
- "JAVA_TOOL_OPTIONS=-Xms512m -Xmx512m" | ||
restart: always | ||
#volumes: | ||
# - .data/zeebe:/usr/local/zeebe/data | ||
networks: | ||
- camunda-platform | ||
depends_on: | ||
elasticsearch: | ||
condition: service_healthy | ||
|
||
operate: # https://docs.camunda.io/docs/self-managed/platform-deployment/docker/#operate | ||
image: camunda/operate:${CAMUNDA_PLATFORM_VERSION} | ||
container_name: operate | ||
ports: | ||
- "8081:8080" | ||
environment: # https://docs.camunda.io/docs/self-managed/operate-deployment/configuration/ | ||
- CAMUNDA_OPERATE_ZEEBE_GATEWAYADDRESS=zeebe:26500 | ||
- CAMUNDA_OPERATE_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
- CAMUNDA_OPERATE_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 | ||
networks: | ||
- camunda-platform | ||
depends_on: | ||
zeebe: | ||
condition: service_started | ||
elasticsearch: | ||
condition: service_healthy | ||
|
||
tasklist: # https://docs.camunda.io/docs/self-managed/platform-deployment/docker/#tasklist | ||
image: camunda/tasklist:${CAMUNDA_PLATFORM_VERSION} | ||
container_name: tasklist | ||
ports: | ||
- "8082:8080" | ||
environment: # https://docs.camunda.io/docs/self-managed/tasklist-deployment/configuration/ | ||
- CAMUNDA_TASKLIST_ZEEBE_GATEWAYADDRESS=zeebe:26500 | ||
- CAMUNDA_TASKLIST_ELASTICSEARCH_URL=http://elasticsearch:9200 | ||
- CAMUNDA_TASKLIST_ZEEBEELASTICSEARCH_URL=http://elasticsearch:9200 | ||
networks: | ||
- camunda-platform | ||
depends_on: | ||
- zeebe | ||
- elasticsearch | ||
|
||
elasticsearch: # https://hub.docker.com/_/elasticsearch | ||
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION} | ||
container_name: elasticsearch | ||
ports: | ||
- "9200:9200" | ||
- "9300:9300" | ||
environment: | ||
- bootstrap.memory_lock=true | ||
- discovery.type=single-node | ||
- xpack.security.enabled=false | ||
# allow running with low disk space | ||
- cluster.routing.allocation.disk.threshold_enabled=false | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
restart: always | ||
healthcheck: | ||
test: [ "CMD-SHELL", "curl -f http://localhost:9200/_cat/health | grep -q green" ] | ||
interval: 5s | ||
retries: 30 | ||
#volumes: | ||
# - .data/elastic:/usr/share/elasticsearch/data | ||
networks: | ||
- camunda-platform | ||
|
||
networks: | ||
camunda-platform: |