Download docker-compose.yml from dipan004/Proofly: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/spaces/dipan004/Proofly/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/dipan004/Proofly/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/dipan004/Proofly/resolve/main/docker-compose.yml
935 Bytes
| version: '3.8' | |
| services: | |
| api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| # Core settings | |
| - MAX_FILE_SIZE_MB=10 | |
| - HASH_ALGORITHM=sha256 | |
| # OCR settings (optional) | |
| - OCR_ENABLED=true | |
| - OCR_LANGUAGE=eng | |
| # AI settings (optional - set your key) | |
| - AI_ENABLED=${AI_ENABLED:-false} | |
| - GEMINI_API_KEY=${GEMINI_API_KEY:-} | |
| - GEMINI_MODEL=gemini-1.5-flash | |
| # Storage settings (configure when ready) | |
| - SUPABASE_URL=${SUPABASE_URL:-} | |
| - SUPABASE_KEY=${SUPABASE_KEY:-} | |
| - SUPABASE_TABLE=proofs | |
| volumes: | |
| # Mount .env file for local development | |
| - ./.env:/app/.env:ro | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 5s |