Download backend/docker-compose.yml from bapi143/CropAI: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/spaces/bapi143/CropAI/resolve/main/backend/docker-compose.yml
- Command line
-
hf download hf://spaces/bapi143/CropAI/backend/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/bapi143/CropAI/resolve/main/backend/docker-compose.yml
386 Bytes
| version: '3.8' | |
| services: | |
| cropai-backend: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: cropai-api | |
| ports: | |
| - "8080:8080" | |
| environment: | |
| - PORT=8080 | |
| - HOST=0.0.0.0 | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8080/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |