-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (72 loc) · 1.99 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
version: "3.6"
services:
db:
image: postgres:9.6.13-alpine
container_name: db
environment:
POSTGRES_PASSWORD: pass
POSTGRES_MULTIPLE_DATABASES: stockprice, trading
ports:
- 5432:5432
volumes:
- ./db/:/docker-entrypoint-initdb.d/
- ./localdata/postgresql/data:/var/lib/postgresql/data
adminer:
image: adminer
container_name: adminer
ports:
- 8000:8080
mockserver:
image: stockprice-mockserver
container_name: mockserver
ports:
- 9000:9000
monitor_db:
image: oscarfonts/h2:1.4.197
container_name: monitor_db
ports:
- 1521:1521
- 81:81
volumes:
- ./zeebe/start-monitor-db-and-alter-table.sh:/opt/h2/start-monitor-db-and-alter-table.sh
entrypoint: ./opt/h2/start-monitor-db-and-alter-table.sh
hazelcast:
image: hazelcast/hazelcast:3.11.4
container_name: hazelcast
ports:
- 5701:5701
zeebe:
image: camunda/zeebe:0.17.0
container_name: zeebe
ports:
- 26500:26500
- 26501:26501
- 26502:26502
- 26503:26503
- 26504:26504
environment:
- ZEEBE_LOG_LEVEL=debug
volumes:
- ./zeebe/zeebe.cfg.toml:/usr/local/zeebe/conf/zeebe.cfg.toml
- ./zeebe/zeebe-simple-monitor-exporter-0.13.0.jar:/usr/local/zeebe/lib/zeebe-simple-monitor-exporter.jar
- ./zeebe/zeebe-hazelcast-exporter-0.2.0.jar:/usr/local/zeebe/lib/zeebe-hazelcast-exporter.jar
depends_on:
- monitor_db
- hazelcast
zeebe-simple-monitor:
image: camunda/zeebe-simple-monitor:0.13.0
container_name: zeebe-simple-monitor
ports:
- 8080:8080
depends_on:
- zeebe
environment:
- spring.jpa.hibernate.ddl-auto=create
- spring.datasource.url=jdbc:h2:tcp://monitor_db:1521/zeebe-monitor
- io.zeebe.monitor.connectionString=zeebe:26500
- io.zeebe.monitor.hazelcast.connection=hazelcast:5701
redis:
image: redis:5.0.5-alpine
container_name: redis
ports:
- 6379:6379