This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
forked from saidimu/druid-docker
-
Notifications
You must be signed in to change notification settings - Fork 18
/
docker-compose.yml
110 lines (104 loc) · 2.91 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
version: "2"
services:
mysql:
container_name: mysql
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD=keepasecret
- MYSQL_USER=druid
- MYSQL_PASSWORD=keepasecret
- MYSQL_DATABASE=druid
command:
- '--character-set-server=utf8'
- '--collation-server=utf8_unicode_ci'
zookeeper:
container_name: zookeeper
image: zookeeper
environment:
- ZOO_MY_ID=1
- ZOO_SERVERS=zookeeper
coordinator:
image: cima/druid
ports:
- "3001:8081"
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
- MYSQL_USERNAME=druid
- MYSQL_PASSWORD=keepasecret
- S3_STORAGE_BUCKET=your-deep-storage-bucket-goes-here
- S3_INDEXING_BUCKET=your-index-log-bucket-goes-here
- S3_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
- S3_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
command:
- coordinator
broker:
image: cima/druid
ports:
- "3002:8082"
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
- MYSQL_USERNAME=druid
- MYSQL_PASSWORD=keepasecret
- S3_STORAGE_BUCKET=your-deep-storage-bucket-goes-here
- S3_INDEXING_BUCKET=your-index-log-bucket-goes-here
- S3_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
- S3_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
command:
- broker
historical:
image: cima/druid
ports:
- "3003:8083"
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
- MYSQL_USERNAME=druid
- MYSQL_PASSWORD=keepasecret
- S3_STORAGE_BUCKET=your-deep-storage-bucket-goes-here
- S3_INDEXING_BUCKET=your-index-log-bucket-goes-here
- S3_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
- S3_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
command:
- historical
overlord:
image: cima/druid
ports:
- "4000:8090"
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
- MYSQL_USERNAME=druid
- MYSQL_PASSWORD=keepasecret
- S3_STORAGE_BUCKET=your-deep-storage-bucket-goes-here
- S3_INDEXING_BUCKET=your-index-log-bucket-goes-here
- S3_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
- S3_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
command:
- overlord
middlemanager:
image: cima/druid
ports:
- "4001:8091"
environment:
- DRUID_XMX=1g
- DRUID_XMS=1g
- DRUID_MAXNEWSIZE=250m
- DRUID_NEWSIZE=250m
- MYSQL_USERNAME=druid
- MYSQL_PASSWORD=keepasecret
- S3_STORAGE_BUCKET=your-deep-storage-bucket-goes-here
- S3_INDEXING_BUCKET=your-index-log-bucket-goes-here
- S3_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
- S3_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
command:
- middleManager