File size: 613 Bytes
cf42286 b99dd79 cf42286 b99dd79 cf42286 3a72e1d dd4a03a cf42286 b99dd79 cf42286 a0c24d5 dd4a03a cf42286 a0c24d5 dd4a03a | 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:-openai/gpt-oss-120b}
- HOST=0.0.0.0
- PORT=7860
volumes:
- ./uploads:/app/uploads
- ./chroma_store:/app/chroma_store
- hf_cache:/app/.cache/huggingface
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:
hf_cache:
|