-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 906 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (36 loc) · 906 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
version: "3.9"
services:
api:
build: .
container_name: credit-risk-api
command: uvicorn api.main:app --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
volumes:
- ./data:/app/data
- ./models:/app/models
- ./reports:/app/reports
- ./mlruns:/app/mlruns
environment:
- PYTHONUNBUFFERED=1
dashboard:
build: .
container_name: credit-risk-dashboard
command: streamlit run dashboard/app.py --server.port 8501 --server.address 0.0.0.0
ports:
- "8501:8501"
volumes:
- ./data:/app/data
- ./models:/app/models
- ./reports:/app/reports
- ./mlruns:/app/mlruns
depends_on:
- api
mlflow:
build: .
container_name: credit-risk-mlflow
command: mlflow ui --backend-store-uri /app/mlruns --host 0.0.0.0 --port 5000
ports:
- "5000:5000"
volumes:
- ./mlruns:/app/mlruns