This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
79 lines (79 loc) · 1.81 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
---
version: '2'
services:
zookeeper:
image: mesoscloud/zookeeper:3.4.8-ubuntu-14.04
volumes:
- './data/zookeeper:/tmp/zookeeper:rw'
mysql:
image: mysql:5.7
environment:
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: druid
MYSQL_USER: druid
MYSQL_PASSWORD: diurd
command:
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
volumes:
- './data/mysql:/var/lib/mysql:rw'
historical:
build: ./druid
image: druid
command: historical
ports:
- '8083:8083'
volumes:
- './conf:/usr/local/druid/conf:ro'
- './data/historical:/usr/local/druid/var/druid:rw'
depends_on:
- zookeeper
- mysql
broker:
build: ./druid
image: druid
command: broker
ports:
- '8082:8082'
volumes:
- './conf:/usr/local/druid/conf:ro'
- './data/broker:/usr/local/druid/var/druid:rw'
depends_on:
- zookeeper
- mysql
coordinator:
build: ./druid
image: druid
command: coordinator
ports:
- '8081:8081'
volumes:
- './conf:/usr/local/druid/conf:ro'
- './data/coordinator:/usr/local/druid/var/druid:rw'
depends_on:
- zookeeper
- mysql
overlord:
build: ./druid
image: druid
command: overlord
ports:
- '8090:8090'
volumes:
- './conf:/usr/local/druid/conf:ro'
- './data/overlord:/usr/local/druid/var/druid:rw'
depends_on:
- zookeeper
- mysql
tranquility:
build: ./tranquility
image: tranquility
command: kafka -configFile=conf/kafka.json
volumes:
- './conf/tranquility:/usr/local/tranquility/conf:ro'
- './extensions/tranquility/:/usr/local/tranquility/extensions/:rw'
ports:
- '8200:8200'
depends_on:
- zookeeper
- overlord