-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
43 lines (42 loc) · 1.3 KB
/
Copy pathdocker-compose.dev.yaml
File metadata and controls
43 lines (42 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
39
40
41
42
43
services:
dialogscribe:
build:
context: .
dockerfile: Dockerfile.dev
container_name: dialogscribe-dev
ports:
- "7860:7860"
environment:
# Transcription via Mistral Voxtral
- MISTRAL_API_KEY=${MISTRAL_API_KEY:-}
- ASR_URL=https://api.mistral.ai
- ASR_MODEL=voxtral-mini-latest
# LLM for summary / insights / chat (Mistral OpenAI-compat)
- LLM_API_KEY=${LLM_API_KEY:-}
- LLM_BASE_URL=https://api.mistral.ai/v1
- LLM_MODEL=mistral-small-latest
# Auth
- JWT_SECRET=${JWT_SECRET:-dev-secret-change-in-prod}
- API_KEY=${API_KEY:-}
# Database (SQLite inside container)
- DATABASE_URL=sqlite+aiosqlite:////app/data/dialogscribe.db
# Server
- HOST=0.0.0.0
- PORT=7860
- MAX_UPLOAD_SIZE_MB=500
# Bootstrap admin
- ADMIN_EMAIL=admin@local.dev
- ADMIN_PASSWORD=admin123
# Frontend origin (CoPilot Sales dev server)
- FRONTEND_URL=http://localhost:5173
volumes:
- dialogscribe_data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')"]
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
volumes:
dialogscribe_data: