forked from franchb/ballista
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (45 loc) · 1.43 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
version: '2.0'
services:
etcd:
image: quay.io/coreos/etcd:v3.4.9
command: "etcd -advertise-client-urls http://etcd:2379 -listen-client-urls http://0.0.0.0:2379"
ballista-scheduler:
image: ballistacompute/ballista-rust:0.4.2-SNAPSHOT
command: "/scheduler --config-backend etcd --etcd-urls etcd:2379 --bind-host 0.0.0.0 --port 50050"
environment:
- RUST_LOG=ballista=debug
volumes:
- ./data:/data
depends_on:
- etcd
ballista-executor-1:
image: ballistacompute/ballista-rust:0.4.2-SNAPSHOT
command: "/executor --bind-host 0.0.0.0 --port 50051 --external-host ballista-executor-1 --scheduler-host ballista-scheduler"
environment:
- RUST_LOG=info
volumes:
- ./data:/data
depends_on:
- ballista-scheduler
ballista-executor-2:
image: ballistacompute/ballista-rust:0.4.2-SNAPSHOT
command: "/executor --bind-host 0.0.0.0 --port 50052 --external-host ballista-executor-2 --scheduler-host ballista-scheduler"
environment:
- RUST_LOG=info
volumes:
- ./data:/data
depends_on:
- ballista-scheduler
ballista-client:
image: ballistacompute/ballista-rust:0.4.2-SNAPSHOT
command: "/bin/sh" # do nothing
working_dir: /ballista/benchmarks/tpch
environment:
- RUST_LOG=info
volumes:
- ./data:/data
- ../..:/ballista
depends_on:
- ballista-scheduler
- ballista-executor-1
- ballista-executor-2