-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (43 loc) · 1.02 KB
/
docker-compose.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
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
# Preprocessing
data.api:
image: icnslab/mlops-data-preprocessing:1.0
container_name: data.api
ports:
- "8000:8000"
volumes:
- /home/icns/MLOps/Files/datasets:/usr/src/app/datasets
- /home/icns/MLOps/Files/outputs:/usr/src/app/outputs
restart: always
# Backend
back.api:
dns:
- 8.8.8.8
image: icnslab/mlops-dashboard-api:1.0
container_name: back.api
ports:
- "18088:18088"
volumes:
- /home/icns/MLOps/Files/datasets:/home/icns/MLOps/Files/datasets
restart: always
# Frontend
front.api:
image: icnslab/mlops-dashboard-front:1.0
container_name: front.api
ports:
- "8081:8081"
restart: always
# Nginx Web Engine
nginx.front:
image: nginx:latest
container_name: nginx.front
ports:
- "80:80"
volumes:
- /home/icns/MLOps/default.conf:/etc/nginx/conf.d/default.conf
- /home/icns/MLOps/Files:/Files
restart: always
depends_on:
- data.api
- back.api