-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-enterprise.yml
135 lines (126 loc) · 3.58 KB
/
docker-compose-enterprise.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
version: '3.4'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.1
environment:
- discovery.type=single-node
- node.name=flowable-node
- cluster.name=flowable-cluster
ulimits:
memlock:
soft: -1
hard: -1
networks:
- internal
ports:
- 9300:9300
- 9200:9200
volumes:
- elastic:/usr/share/elasticsearch/data
zookeeper:
image: confluentinc/cp-zookeeper:5.5.1
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ZOOKEEPER_SYNC_LIMIT: 2
networks:
- internal
ports:
- 2181:2181
- 2888:2888
- 3888:3888
kafka:
image: confluentinc/cp-kafka:5.5.1
depends_on:
- zookeeper
ports:
- "9092:9092"
networks:
- internal
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_BROKER_ID: "2"
KAFKA_ADVERTISED_HOST_NAME: "kafka"
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
activemq:
image: rmohr/activemq:5.15.9
networks:
- internal
ports:
- 61616:61616
- 61613:61613
- 8161:8161
design:
image: openjdk:8-jdk-alpine
networks:
- internal
ports:
- 8888:8888
environment:
SERVER_PORT: 8888
SERVER_SERVLET_SESSION_TIMEOUT: 1h
SERVER_SERVLET_CONTEXT-PATH: /
SPRING_DATASOURCE_URL: jdbc:h2:file:/h2/database.db
LOGGING_FILE: flowable-design.log
FLOWABLE_MODELER_APP_DEPLOYMENT-API-URL: http://engage:8080/app-api
FLOWABLE_COMMON_APP_IDM-URL: http://flowable-engage:8080
FLOWABLE_MODELER_APP_LICENSE-LOCATION: file:/license/flowable.license
volumes:
- ./enterprise-trial/webapps:/apps/
- ./enterprise-trial/license:/license/
- design:/h2
entrypoint: [ "java", "-jar", "/apps/flowable-design.war" ]
engage:
image: openjdk:8-jdk-alpine
networks:
- internal
ports:
- 8080:8080
environment:
SERVER_PORT: 8080
SERVER_SERVLET_SESSION_TIMEOUT: 1h
SERVER_SERVLET_CONTEXT-PATH: /
SPRING_DATASOURCE_URL: jdbc:h2:file:/h2/database.db
FLOWABLE_INDEXING_ELASTICSEARCHADDRESSES: http://elasticsearch:9200
APPLICATION_KAFKA-ENABLED: "true"
SPRING_KAFKA_BOOTSTRAP-SERVERS: kafka:9092
SPRING_ACTIVEMQ_BROKER-URL: tcp://activemq:61616
FLOWABLE_WEBSOCKET_STOMP-BROKER-ADDRESSES: activemq:61613
LOGGING_FILE: flowable-engage.log
FLOWABLE_LICENSE_LOCATION: file:/license/flowable.license
volumes:
- ./enterprise-trial/webapps:/apps/
- ./enterprise-trial/license:/license/
- engage:/h2
entrypoint: [ "java", "-jar", "/apps/flowable-engage.war" ]
depends_on:
- kafka
- elasticsearch
control:
image: openjdk:8-jdk-alpine
networks:
- internal
ports:
- 9988:9988
environment:
SERVER_PORT: 9988
SERVER_SERVLET_SESSION_TIMEOUT: 1h
SERVER_SERVLET_CONTEXT-PATH: /
SPRING_DATASOURCE_URL: jdbc:h2:file:/h2/database.db
FLOWABLE_CONTROL_APP_CLUSTER-CONFIG_NAME: Default Cluster
FLOWABLE_CONTROL_APP_CLUSTER-CONFIG_DESCRIPTION: Default Flowable Cluster
FLOWABLE_CONTROL_APP_CLUSTER-CONFIG_SERVER-ADDRESS: http://engage
FLOWABLE_CONTROL_APP_CLUSTER-CONFIG_PORT: 8080
FLOWABLE_CONTROL_APP_CLUSTER-CONFIG_CONTEXT-ROOT: /
volumes:
- ./enterprise-trial/webapps:/apps/
- control:/h2
entrypoint: [ "java", "-jar", "/apps/flowable-control.war" ]
networks:
internal:
volumes:
elastic:
design:
engage:
control: