-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 1.11 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
54
55
services:
master:
build:
context: .
dockerfile: docker/master/Dockerfile
args:
- NUMBER_OF_WORKERS=3
worker-0:
build:
context: .
dockerfile: docker/worker/Dockerfile
args:
- WORKER_ID=0
- MASTER_HOST=master
- MASTER_PORT=50051
depends_on:
- master
volumes:
- ./build/output/0:/output
worker-1:
build:
context: .
dockerfile: docker/worker/Dockerfile
args:
- WORKER_ID=1
- MASTER_HOST=master
- MASTER_PORT=50051
depends_on:
- master
volumes:
- ./build/output/1:/output
worker-2:
build:
context: .
dockerfile: docker/worker/Dockerfile
args:
- WORKER_ID=2
- MASTER_HOST=master
- MASTER_PORT=50051
depends_on:
- master
volumes:
- ./build/output/2:/output
worker-3:
build:
context: .
dockerfile: docker/worker/Dockerfile
args:
- WORKER_ID=3
- MASTER_HOST=master
- MASTER_PORT=50051
depends_on:
- master
volumes:
- ./build/output/3:/output