Download docker-compose.yml from berohan/studyrag: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/spaces/berohan/studyrag/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/berohan/studyrag/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/berohan/studyrag/resolve/main/docker-compose.yml
613 Bytes
| 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: | |