-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
111 lines (103 loc) · 2.17 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
version: '3'
services:
zookeeper:
image: zookeeper:3.4
restart: always
ports:
- 2181:2181
- 2888:2888
- 3888:3888
environment:
- ZOO_ID=1
- ZOO_SERVERS=zookeeper
mysql:
image: mariadb:10
restart: always
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=123plop321
- MYSQL_DATABASE=druid
- MYSQL_USER=druid
- MYSQL_PASSWORD=druid
command: --character-set-server=utf8 --collation-server=utf8_unicode_ci
broker:
image: druid
restart: always
volumes:
- druid_var:/opt/druid/current/var
ports:
- 8082:8082
environment:
- JAVA_EXTRA_OPTIONS=-Xmx4g -Xms1m
links:
- zookeeper:zookeeper
- mysql:mysql
command: broker
coordinator:
image: druid
restart: always
volumes:
- druid_var:/opt/druid/current/var
ports:
- 8081:8081
environment:
- JAVA_EXTRA_OPTIONS=-Xmx2g -Xms1m
links:
- zookeeper:zookeeper
- mysql:mysql
command: coordinator
historical:
image: druid
restart: always
volumes:
- druid_var:/opt/druid/current/var
ports:
- 8083:8083
environment:
- JAVA_EXTRA_OPTIONS=-Xmx4g -Xms1m
links:
- zookeeper:zookeeper
- mysql:mysql
command: historical
middleManager:
image: druid
restart: always
volumes:
- druid_var:/opt/druid/current/var
ports:
- 8091:8091
- 8100-8199:8100-8199
environment:
- JAVA_EXTRA_OPTIONS=-Xmx64m -Xms64m
links:
- zookeeper:zookeeper
- mysql:mysql
command: middleManager
overlord:
image: druid
restart: always
volumes:
- druid_var:/opt/druid/current/var
ports:
- 8090:8090
environment:
- JAVA_EXTRA_OPTIONS=-Xmx1g -Xms1m
links:
- zookeeper:zookeeper
- mysql:mysql
command: overlord
tranquility:
image: tranquility
restart: always
ports:
- 8200:8200
links:
- zookeeper:zookeeper
- broker:broker
- coordinator:coordinator
- historical:historical
- middleManager:middleManager
- overlord:overlord
volumes:
druid_var: