-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dpo.yml
38 lines (38 loc) · 1.16 KB
/
docker-compose.dpo.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
version: '3'
services:
node0:
build:
context: .
dockerfile: Dockerfile.dpo
image: dpo
volumes:
- ./peers.json:/dpo/peers.json:ro
- ./benchmark:/dpo/benchmark
command: ["-id", "0", "-peers", "/dpo/peers.json", "-ntx", "10", "-benchmark", "/dpo/benchmark/node0.csv", "-epochPeriod", "3000"]
node1:
build:
context: .
dockerfile: Dockerfile.dpo
image: dpo
volumes:
- ./peers.json:/dpo/peers.json:ro
- ./benchmark:/dpo/benchmark
command: ["-id", "1", "-peers", "/dpo/peers.json", "-ntx", "10", "-benchmark", "/dpo/benchmark/node1.csv"]
node2:
build:
context: .
dockerfile: Dockerfile.dpo
image: dpo
volumes:
- ./peers.json:/dpo/peers.json:ro
- ./benchmark:/dpo/benchmark
command: ["-id", "2", "-peers", "/dpo/peers.json", "-ntx", "10", "-benchmark", "/dpo/benchmark/node2.csv"]
node3:
build:
context: .
dockerfile: Dockerfile.dpo
image: dpo
volumes:
- ./peers.json:/dpo/peers.json:ro
- ./benchmark:/dpo/benchmark
command: ["-id", "3", "-peers", "/dpo/peers.json", "-ntx", "10", "-benchmark", "/dpo/benchmark/node3.csv"]