Spaces:
Running
Running
Download docker-compose.yml from HarryDataScience/documind-ai: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/spaces/HarryDataScience/documind-ai/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/HarryDataScience/documind-ai/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/HarryDataScience/documind-ai/resolve/main/docker-compose.yml
635 Bytes
| services: | |
| documind: | |
| build: . | |
| container_name: documind_ai | |
| ports: | |
| - "8000:8000" | |
| env_file: .env | |
| environment: | |
| DEBUG: "false" | |
| VECTORSTORE_PATH: /app/data/vectorstore | |
| UPLOAD_FOLDER: /app/data/uploads | |
| HF_HOME: /app/model-cache | |
| volumes: | |
| - documind_data:/app/data | |
| - hf_cache:/app/model-cache | |
| healthcheck: | |
| test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"] | |
| interval: 30s | |
| timeout: 5s | |
| retries: 3 | |
| start_period: 60s | |
| restart: unless-stopped | |
| volumes: | |
| documind_data: | |
| hf_cache: | |