-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
99 lines (99 loc) · 1.83 KB
/
Copy pathdocker-compose.yml
File metadata and controls
99 lines (99 loc) · 1.83 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '3'
services:
master:
container_name: master
build: .
environment:
FLASK_APP: master_app.py
NODE: master
PORT: 8820
ports:
- "8820:8820"
volumes:
- .:/code
stdin_open: true
tty: true
redis:
container_name: redis
image: redis:5-alpine
ports:
- "6379:6379"
dfs_celery:
container_name: dfs_celery
build:
context: .
dockerfile: Dockerfile_dfs_celery
volumes:
- .:/code
- ./storage_sn0_5000:/storage_sn0_5000
- ./storage_sn1_5050:/storage_sn1_5050
- ./storage_sn2_6000:/storage_sn2_6000
- ./storage_sn3_6050:/storage_sn3_6050
- ./storage_sn4_7000:/storage_sn4_7000
stdin_open: true
tty: true
sn0:
container_name: sn0
build: .
environment:
FLASK_APP: storage_node_app.py
NODE: sn0
PORT: 5000
ports:
- "5000:5000"
volumes:
- .:/code
stdin_open: true
tty: true
sn1:
container_name: sn1
build: .
environment:
FLASK_APP: storage_node_app.py
NODE: sn1
PORT: 5050
ports:
- "5050:5050"
volumes:
- .:/code
stdin_open: true
tty: true
sn2:
container_name: sn2
build: .
environment:
FLASK_APP: storage_node_app.py
NODE: sn2
PORT: 6000
ports:
- "6000:6000"
volumes:
- .:/code
stdin_open: true
tty: true
sn3:
container_name: sn3
build: .
environment:
FLASK_APP: storage_node_app.py
NODE: sn3
PORT: 6050
ports:
- "6050:6050"
volumes:
- .:/code
stdin_open: true
tty: true
sn4:
container_name: sn4
build: .
environment:
FLASK_APP: storage_node_app.py
NODE: sn4
PORT: 7000
ports:
- "7000:7000"
volumes:
- .:/code
stdin_open: true
tty: true