Download docker-compose.yml from Oak-Street/intent-classification: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/Oak-Street/intent-classification/resolve/main/docker-compose.yml
- Command line
-
hf download hf://Oak-Street/intent-classification/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/Oak-Street/intent-classification/resolve/main/docker-compose.yml
435 Bytes
| version: '3.8' | |
| services: | |
| intent-classifier: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: intent-classification-api | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - PYTHONUNBUFFERED=1 | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s | |