forked from startreedata/pizza-shop-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-pinot-m1.yml
41 lines (41 loc) · 1.13 KB
/
docker-compose-pinot-m1.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
version: "3"
services:
pinot-controller:
image: apachepinot/pinot:0.12.0-arm64
command: "StartController -zkAddress zookeeper:2181"
container_name: "pinot-controller"
restart: unless-stopped
ports:
- "9000:9000"
depends_on:
- zookeeper
healthcheck: {test: nc -z localhost 9000, interval: 1s}
pinot-broker:
image: apachepinot/pinot:0.12.0-arm64
command: "StartBroker -zkAddress zookeeper:2181"
restart: unless-stopped
container_name: "pinot-broker"
ports:
- "8099:8099"
depends_on:
- pinot-controller
pinot-server:
image: apachepinot/pinot:0.12.0-arm64
container_name: "pinot-server"
command: "StartServer -zkAddress zookeeper:2181"
restart: unless-stopped
depends_on:
- pinot-broker
pinot-add-table:
image: apachepinot/pinot:0.12.0-arm64
container_name: "pinot-add-table"
volumes:
- ./pinot/config:/config
- ./scripts/:/scripts
command: "/scripts/add_tables.sh"
restart: on-failure
entrypoint: "bash -c"
environment:
- "JAVA_OPTS=-Dpinot.admin.system.exit=true"
depends_on:
- pinot-controller