-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (61 loc) · 1.56 KB
/
docker-compose.yaml
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
version: "3.2"
services:
ch-server-1:
image: yandex/clickhouse-server
volumes:
- ./config.xml:/etc/clickhouse-server/config.d/local.xml
- ./macros1.xml:/etc/clickhouse-server/config.d/macros.xml
- ./data/1:/var/lib/clickhouse
ports:
- 8123:8123
- 9000:9000
environment:
TZ: "Asia/Shanghai"
ch-server-2:
image: yandex/clickhouse-server
volumes:
- ./config.xml:/etc/clickhouse-server/config.d/local.xml
- ./macros2.xml:/etc/clickhouse-server/config.d/macros.xml
- ./data/2:/var/lib/clickhouse
ports:
- 8124:8123
- 9001:9000
environment:
TZ: "Asia/Shanghai"
ch-server-3:
image: yandex/clickhouse-server
volumes:
- ./config.xml:/etc/clickhouse-server/config.d/local.xml
- ./macros3.xml:/etc/clickhouse-server/config.d/macros.xml
- ./data/3:/var/lib/clickhouse
ports:
- 8125:8123
- 9002:9000
environment:
TZ: "Asia/Shanghai"
ch-server-4:
image: yandex/clickhouse-server
volumes:
- ./config.xml:/etc/clickhouse-server/config.d/local.xml
- ./macros4.xml:/etc/clickhouse-server/config.d/macros.xml
- ./data/4:/var/lib/clickhouse
ports:
- 8126:8123
- 9003:9000
environment:
TZ: "Asia/Shanghai"
ch-client:
image: yandex/clickhouse-client
entrypoint:
- /bin/sleep
command:
- infinity
environment:
TZ: "Asia/Shanghai"
zookeeper:
image: zookeeper
volumes:
- ./zk/data:/data
- ./zk/datalog:/datalog
environment:
TZ: "Asia/Shanghai"