-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.c7-optimize.yml
60 lines (56 loc) · 1.72 KB
/
docker-compose.c7-optimize.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
########################################
# Camunda Platform full development setup
########################################
version: '3.8'
volumes:
certs:
networks:
# Note there are two bridge networks. One for Zeebe and one for IAM. Operate, Tasklist, and Optimize use both
camunda-platform: { }
services:
#########################################
# Camunda Optimize
#########################################
optimize:
container_name: optimize-c7
image: registry.camunda.cloud/optimize-ee/optimize:3.7.2
environment:
# OPTIMIZE_CAMUNDABPM_REST_URL: http://camunda-platform-n1:8081/engine-rest
# OPTIMIZE_CAMUNDABPM_WEBAPPS_URL: http://camunda-platform-n1:8081/camunda
OPTIMIZE_ELASTICSEARCH_HOST: optimize-elastic
OPTIMIZE_ELASTICSEARCH_HTTP_PORT: 9200
ports:
- "8090:8090"
volumes:
- ./optimize-config.yaml:/optimize/config/environment-config.yaml
- /Users/paullungu/.camunda/optimize-license.txt:/optimize/config/OptimizeLicense.txt:ro
links:
- camunda-platform
- optimize-elastic
depends_on:
optimize-elastic:
condition: service_healthy
camunda-platform:
condition: service_healthy
networks:
- camunda-platform
optimize-elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.2
ports:
- "9200:9200"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200/"]
interval: 30s
timeout: 10s
retries: 5
networks:
- camunda-platform