-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 1.3 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
services:
backend:
build:
context: .
dockerfile: Dockerfile
target: frontend-build
image: python:3.11-slim
working_dir: /app/backend
command: >
bash -c "apt-get update && apt-get install -y --no-install-recommends ffmpeg &&
pip install --no-cache-dir -r requirements.txt &&
uvicorn main:app --host 0.0.0.0 --port 8000 --reload"
volumes:
- ./backend:/app/backend
ports:
- "8000:8000"
environment:
- LLM_BASE_URL=${LLM_BASE_URL:-http://host.docker.internal:8080/v1}
- LLM_MODEL=${LLM_MODEL:-google/medgemma-27b-text-it}
- VISION_LLM_BASE_URL=${VISION_LLM_BASE_URL:-http://host.docker.internal:8080/v1}
- VISION_LLM_MODEL=${VISION_LLM_MODEL:-google/medgemma-1.5-4b-it}
- TRANOPENATTEND_MODEL=${TRANOPENATTEND_MODEL:-google/medasr}
- LLM_TIMEOUT=${LLM_TIMEOUT:-30}
- LLM_MAX_TOKENS=${LLM_MAX_TOKENS:-2048}
- LLM_TEMPERATURE=${LLM_TEMPERATURE:-0.2}
- SILENCE_THRESHOLD=${SILENCE_THRESHOLD:-0.005}
frontend:
image: node:20-alpine
working_dir: /app/frontend
command: sh -c "npm install && npm run dev -- --host 0.0.0.0"
volumes:
- ./frontend:/app/frontend
- /app/frontend/node_modules
ports:
- "3000:3000"
environment:
- VITE_API_URL=http://localhost:8000