-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 1.04 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
services:
# Credit Card Fraud Detection - Streamlit Dashboard
fraud-detection:
build:
context: ./credit-card-fraud-detection
dockerfile: Dockerfile
ports:
- "8501:8501"
restart: unless-stopped
# Raw Voice - FastAPI Backend
raw-voice-backend:
build:
context: ./raw_voice
dockerfile: Dockerfile.backend
ports:
- "8000:8000"
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- API_URL=${API_URL:-http://localhost:8000}
- LLM_MODEL=${LLM_MODEL}
- HF_TOKEN=${HF_TOKEN}
- LLM_TEMPERATURE=${LLM_TEMPERATURE:-0.7}
- RETRIEVER_K=${RETRIEVER_K:-5}
volumes:
- ./raw_voice/data:/app/data
restart: unless-stopped
# Raw Voice - Streamlit Frontend
raw-voice-frontend:
build:
context: ./raw_voice
dockerfile: Dockerfile.frontend
ports:
- "8502:8501"
environment:
- API_URL=http://raw-voice-backend:8000
depends_on:
- raw-voice-backend
volumes:
- ./raw_voice/data:/app/data
restart: unless-stopped