File size: 629 Bytes
cf42286 b99dd79 cf42286 b99dd79 cf42286 3a72e1d a0c24d5 cf42286 b99dd79 cf42286 a0c24d5 cf42286 a0c24d5 | 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 | services:
studyson:
build: .
ports:
- "7860:7860"
environment:
- GROQ_API_KEY=${GROQ_API_KEY}
- GROQ_MODEL=${GROQ_MODEL:-llama-3.3-70b-versatile}
- HOST=0.0.0.0
- PORT=7860
volumes:
- ./uploads:/app/uploads
- ./chroma_store:/app/chroma_store
- fastembed_cache:/app/.cache/fastembed
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860/status', timeout=3)"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
volumes:
fastembed_cache:
|