Spaces:
Running on T4
Running on T4
Download compose.yaml from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/compose.yaml
- Command line
-
hf download hf://spaces/modventures/baseball-engine/compose.yaml
-
curl -L -o compose.yaml https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/compose.yaml
1.22 kB
| services: | |
| api: | |
| build: . | |
| image: baseball-engine-api:local | |
| platform: linux/amd64 | |
| gpus: all | |
| restart: unless-stopped | |
| environment: | |
| BASEBALL_API_KEY: ${BASEBALL_API_KEY:?Set BASEBALL_API_KEY in .env} | |
| BASEBALL_MAX_UPLOAD_MB: ${BASEBALL_MAX_UPLOAD_MB:-512} | |
| BASEBALL_MAX_ACTIVE_JOBS: ${BASEBALL_MAX_ACTIVE_JOBS:-8} | |
| BASEBALL_MAX_FRAMES: ${BASEBALL_MAX_FRAMES:-7200} | |
| BASEBALL_MAX_DURATION_S: ${BASEBALL_MAX_DURATION_S:-120} | |
| BASEBALL_JOB_TIMEOUT_S: ${BASEBALL_JOB_TIMEOUT_S:-1800} | |
| BASEBALL_RETENTION_HOURS: ${BASEBALL_RETENTION_HOURS:-24} | |
| GOOGLE_API_KEY: ${GOOGLE_API_KEY:-} | |
| COACH_MODEL: ${COACH_MODEL:-gemini-3.1-flash-lite} | |
| COACH_VIDEO_REVIEW_MODEL: ${COACH_VIDEO_REVIEW_MODEL:-gemini-3.8-flash} | |
| COACH_DAILY_BUDGET_USD: ${COACH_DAILY_BUDGET_USD:-1} | |
| COACH_CACHE_PATH: /data/coach-cache/responses.sqlite3 | |
| COACH_LOG_DIR: /data/coach-cache/logs | |
| ports: | |
| - "127.0.0.1:8000:8000" | |
| volumes: | |
| - baseball-data:/data | |
| read_only: true | |
| tmpfs: | |
| - /tmp:size=2147483648,mode=1777 | |
| cap_drop: | |
| - ALL | |
| security_opt: | |
| - no-new-privileges:true | |
| stop_grace_period: 30s | |
| volumes: | |
| baseball-data: | |