-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
129 lines (120 loc) · 3.5 KB
/
docker-compose.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
version: "3"
networks:
zeebe_network:
driver: bridge
services:
zeebe-play-in-memory:
container_name: zeebe-play-in-memory
image: ghcr.io/camunda-community-hub/zeebe-play:1.4.0
ports:
- "8080:8080"
- "26500:26500"
networks:
- zeebe_network
profiles:
- in-memory
zeebe-play-remote-engine:
container_name: zeebe-play-remote-engine
image: ghcr.io/camunda-community-hub/zeebe-play:1.4.0
environment:
- ZEEBE_ENGINE=remote
- ZEEBE_CLIENT_BROKER_GATEWAYADDRESS=zeebe:26500
- ZEEBE_CLOCK_ENDPOINT=zeebe:9600/actuator/clock
- ZEEBE_CLIENT_WORKER_HAZELCAST_CONNECTION=zeebe:5701
ports:
- "8080:8080"
networks:
- zeebe_network
depends_on:
- zeebe
profiles:
- remote-engine
zeebe-play-postgres:
container_name: zeebe-play-postgres
image: ghcr.io/camunda-community-hub/zeebe-play:1.4.0
environment:
- ZEEBE_ENGINE=remote
- ZEEBE_CLIENT_BROKER_GATEWAYADDRESS=zeebe:26500
- ZEEBE_CLOCK_ENDPOINT=zeebe:9600/actuator/clock
- ZEEBE_CLIENT_WORKER_HAZELCAST_CONNECTION=zeebe:5701
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres-zeebe-play:5432/postgres
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=zeebe
- SPRING_DATASOURCE_DRIVERCLASSNAME=org.postgresql.Driver
- SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT=org.hibernate.dialect.PostgreSQLDialect
- SPRING_JPA_HIBERNATE_DLL_AUTO=create
ports:
- "8080:8080"
networks:
- zeebe_network
depends_on:
- zeebe
- postgres-zeebe-play
profiles:
- postgres
zeebe-play-mysql:
container_name: zeebe-play-mysql
image: ghcr.io/camunda-community-hub/zeebe-play:1.4.0
environment:
- ZEEBE_ENGINE=remote
- ZEEBE_CLIENT_BROKER_GATEWAYADDRESS=zeebe:26500
- ZEEBE_CLOCK_ENDPOINT=zeebe:9600/actuator/clock
- ZEEBE_CLIENT_WORKER_HAZELCAST_CONNECTION=zeebe:5701
- SPRING_DATASOURCE_URL=jdbc:mysql://mysql-zeebe-play:3306/zeebe-play?createDatabaseIfNotExist=true
- SPRING_DATASOURCE_USERNAME=root
- SPRING_DATASOURCE_PASSWORD=zeebe
- SPRING_DATASOURCE_DRIVERCLASSNAME=com.mysql.cj.jdbc.Driver
- SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT=org.hibernate.dialect.MySQL8Dialect
- SPRING_JPA_HIBERNATE_NAMING_PHYSICAL_STRATEGY=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
- SPRING_JPA_HIBERNATE_DLL_AUTO=create
ports:
- "8080:8080"
networks:
- zeebe_network
depends_on:
- zeebe
- mysql-zeebe-play
profiles:
- mysql
zeebe:
container_name: zeebe_broker
image: ghcr.io/camunda-community-hub/zeebe-with-hazelcast-exporter:8.0.5
environment:
- ZEEBE_LOG_LEVEL=debug
- ZEEBE_CLOCK_CONTROLLED=true
ports:
- "26500:26500"
- "5701:5701"
networks:
- zeebe_network
profiles:
- remote-engine
- postgres
- mysql
postgres-zeebe-play:
image: postgres:12.2
restart: always
environment:
POSTGRES_PASSWORD: zeebe
volumes:
- postgres-zeebe-play-data:/var/lib/postgresql/data
networks:
- zeebe_network
profiles:
- postgres
mysql-zeebe-play:
image: mysql:8
restart: always
environment:
MYSQL_ROOT_PASSWORD: zeebe
volumes:
- mysql-zeebe-play-data:/var/lib/mysql
networks:
- zeebe_network
profiles:
- mysql
volumes:
postgres-zeebe-play-data:
driver: local
mysql-zeebe-play-data:
driver: local