-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (25 loc) · 796 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (25 loc) · 796 Bytes
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
version: '3'
services:
r0:
image: bftsmart
build: .
restart: always
command: sh -c 'sleep 1 && sh runscripts/startReplicaYCSB.sh 0'
r1:
image: bftsmart
restart: always
command: sh -c 'sleep 5 && sh runscripts/startReplicaYCSB.sh 1'
r2:
image: bftsmart
restart: always
command: sh -c 'sleep 7 && sh runscripts/startReplicaYCSB.sh 2'
r3:
image: bftsmart
restart: always
command: sh -c 'sleep 9 && sh runscripts/startReplicaYCSB.sh 3'
loader:
image: bftsmart
command: sh -c 'sleep 11 && sh runscripts/ycsbLoader.sh'
client:
image: bftsmart
command: sh -c 'sleep 300 && sh runscripts/ycsbClient.sh'