-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.3 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
version: "3"
services:
pinot-zookeeper:
image: apachepinot/pinot:release-0.10.0
hostname: pinot-zookeeper
container_name: "pinot-client-rust-pinot-zookeeper"
ports:
- "2181:2181"
command: StartZookeeper
pinot-controller:
image: apachepinot/pinot:release-0.10.0
hostname: pinot-controller
container_name: "pinot-client-rust-pinot-controller"
volumes:
- ./db:/db
ports:
- "9000:9000"
command: StartController -zkAddress pinot-zookeeper:2181
depends_on:
- pinot-zookeeper
pinot-broker:
image: apachepinot/pinot:release-0.10.0
hostname: pinot-broker
container_name: "pinot-client-rust-pinot-broker"
volumes:
- ./db:/db
ports:
- "8099:8099"
command: StartBroker -zkAddress pinot-zookeeper:2181
restart: unless-stopped
depends_on:
- pinot-zookeeper
- pinot-controller
pinot-server:
image: apachepinot/pinot:release-0.10.0
hostname: pinot-server
container_name: "pinot-client-rust-pinot-server"
volumes:
- ./db:/db
ports:
- "8098:8098"
command: StartServer -zkAddress pinot-zookeeper:2181
depends_on:
- pinot-zookeeper
- pinot-controller
# cargo will try to redownload packages @ docker-compose up so store them here.
volumes:
pgdata: {}