forked from camunda-community-hub/zeebe-simple-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
106 lines (98 loc) · 3.01 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
version: "3"
networks:
zeebe_network:
driver: bridge
services:
zeebe:
container_name: zeebe_broker
image: ghcr.io/camunda-community-hub/zeebe-with-hazelcast-exporter:8.0.5
environment:
- ZEEBE_LOG_LEVEL=debug
ports:
- "26500:26500"
- "9600:9600"
- "5701:5701"
networks:
- zeebe_network
simple-monitor-in-memory:
container_name: zeebe-simple-monitor-in-memory
image: ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.4.1
environment:
- zeebe.client.broker.gateway-address=zeebe:26500
- zeebe.client.worker.hazelcast.connection=zeebe:5701
ports:
- "8082:8082"
depends_on:
- zeebe
networks:
- zeebe_network
profiles:
- in-memory
simple-monitor-postgres:
container_name: zeebe-simple-monitor-postgres
image: ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.4.1
environment:
- zeebe.client.broker.gateway-address=zeebe:26500
- zeebe.client.worker.hazelcast.connection=zeebe:5701
- spring.datasource.url=jdbc:postgresql://postgres-zeebe-simple-monitor: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
ports:
- "8082:8082"
depends_on:
- zeebe
- postgres-zeebe-simple-monitor
networks:
- zeebe_network
profiles:
- postgres
postgres-zeebe-simple-monitor:
image: postgres:12.2
restart: always
environment:
POSTGRES_PASSWORD: zeebe
volumes:
- postgres-zeebe-simple-monitor-data:/var/lib/postgresql/data
networks:
- zeebe_network
profiles:
- postgres
simple-monitor-mysql:
container_name: zeebe-simple-monitor-mysql
image: ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.4.1
environment:
- zeebe.client.broker.gateway-address=zeebe:26500
- zeebe.client.worker.hazelcast.connection=zeebe:5701
- spring.datasource.url=jdbc:mysql://mysql-zeebe-simple-monitor:3306/simple_monitor?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
ports:
- "8082:8082"
depends_on:
- zeebe
- mysql-zeebe-simple-monitor
networks:
- zeebe_network
profiles:
- mysql
mysql-zeebe-simple-monitor:
image: mysql:8
restart: always
environment:
MYSQL_ROOT_PASSWORD: zeebe
volumes:
- mysql-zeebe-simple-monitor-data:/var/lib/mysql
networks:
- zeebe_network
profiles:
- mysql
volumes:
postgres-zeebe-simple-monitor-data:
driver: local
mysql-zeebe-simple-monitor-data:
driver: local