-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 1.04 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
version: '2'
services:
zookeeper:
image: zookeeper
ports:
- 2181:2181
ch1:
build:
context: .
dockerfile: Dockerfile.ch1
depends_on:
- zookeeper
ports:
- 8811:8123
- 9011:9000
volumes:
- "/Users/sonych/dev/own/clickhouse-cluster-data/volume1:/var/lib/clickhouse"
ch2:
build:
context: .
dockerfile: Dockerfile.ch2
depends_on:
- zookeeper
ports:
- 8812:8123
- 9012:9000
volumes:
- "/Users/sonych/dev/own/clickhouse-cluster-data/volume2:/var/lib/clickhouse"
ch3:
build:
context: .
dockerfile: Dockerfile.ch3
depends_on:
- zookeeper
ports:
- 8813:8123
- 9013:9000
volumes:
- "/Users/sonych/dev/own/clickhouse-cluster-data/volume3:/var/lib/clickhouse"
ch4:
build:
context: .
dockerfile: Dockerfile.ch4
depends_on:
- zookeeper
ports:
- 8814:8123
- 9014:9000
volumes:
- "/Users/sonych/dev/own/clickhouse-cluster-data/volume4:/var/lib/clickhouse"