-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 887 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
services:
transcript-processor:
build: .
container_name: transcript-processor
ports:
- "5001:5001"
volumes:
- ./:/app # Mount the current directory to /app for development
- processed_data:/app/temp_files # Persistent volume for processed data
environment:
- FLASK_APP=app.py
- FLASK_ENV=production
# OpenAI API configuration
- API_KEY=${API_KEY:-your_openai_api_key_here} # Uses .env file or default
- GPT_MODEL=${GPT_MODEL:-gpt-4o} # AI model to use for summarization
# Optional: Configure output directory
- MEETING_ROOT_DIR=/app/temp_files
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5001/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
command: python app.py
restart: unless-stopped
volumes:
processed_data:
driver: local