Spaces:
Sleeping
Sleeping
Download docker-compose.yml from maddy1007/shl-recommender: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/maddy1007/shl-recommender/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/maddy1007/shl-recommender/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/maddy1007/shl-recommender/resolve/main/docker-compose.yml
505 Bytes
| version: "3.9" | |
| services: | |
| api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| ports: | |
| - "8000:8000" | |
| env_file: | |
| - .env | |
| volumes: | |
| - model_cache:/app/model_cache | |
| - ./data:/app/data | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8000/health').raise_for_status()"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 60s | |
| volumes: | |
| model_cache: | |
| driver: local | |