-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (57 loc) · 1.1 KB
/
docker-compose.yml
File metadata and controls
63 lines (57 loc) · 1.1 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
version: "3"
services:
# server flask
flask-app:
build:
context: ./server/flask
network: host
ports:
- "8084"
image: flask-app-image
container_name: flask-server-container
volumes:
- ./uploads:/app/uploads
- ./config/:/app/config
- ./logs/:/app/logs
network_mode: host
# server model
model:
build:
context: ./server/model
network: host
ports:
- "5050"
image: model-image
container_name: model-server-container
volumes:
- ./config:/app/config
- ./logs:/app/logs
network_mode: host
# server test
test:
build:
context: ./server/test
network: host
ports:
- "5060"
image: test-image
container_name: test-server-container
volumes:
- ./uploads:/app/uploads
network_mode: host
# client reactjs
react-app:
build:
context: ./client
network: host
depends_on:
- flask-app
ports:
- "8501:3000"
image: react-app-image
container_name: react-client-container
network_mode: host
volumes:
uploads:
config:
logs: