Spaces:
Running on Zero
Running on Zero
Download docker-compose.yml from Devashri26/GastroGen: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/spaces/Devashri26/GastroGen/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Devashri26/GastroGen/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Devashri26/GastroGen/resolve/main/docker-compose.yml
620 Bytes
| version: '3.8' | |
| services: | |
| gastrogen: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: gastrogen-platform | |
| restart: unless-stopped | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - HOST=0.0.0.0 | |
| - PORT=8000 | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: all | |
| capabilities: [gpu] | |
| volumes: | |
| - ./models:/app/models:ro | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s | |