-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (38 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (38 loc) · 901 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
37
38
39
40
41
42
43
44
45
version: '3'
services:
client:
image: chord
build: .
container_name: client
command: python3 client.py
depends_on: [ node_2, node_7, node_11, node_17, node_22, node_27 ]
node_2:
image: chord
build: .
container_name: node_2
command: sh -c 'python3 node_DavidEje.py 2'
node_7:
image: chord
build: .
container_name: node_7
command: sh -c 'python3 node_DavidEje.py 7'
node_11:
image: chord
build: .
container_name: node_11
command: sh -c 'python3 node_DavidEje.py 11'
node_17:
image: chord
build: .
container_name: node_17
command: sh -c 'python3 node_DavidEje.py 17'
node_22:
image: chord
build: .
container_name: node_22
command: sh -c 'python3 node_DavidEje.py 22'
node_27:
image: chord
build: .
container_name: node_27
command: sh -c 'python3 node_DavidEje.py 27'