Download docker-compose.yml from mrinal22258/floorgen: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/mrinal22258/floorgen/resolve/main/docker-compose.yml
- Command line
-
hf download hf://mrinal22258/floorgen/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/mrinal22258/floorgen/resolve/main/docker-compose.yml
858 Bytes
| version: "3.8" | |
| services: | |
| floorgen-api: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| container_name: floorgen-api | |
| restart: unless-stopped | |
| ports: | |
| - "8000:8000" | |
| environment: | |
| - FLOORGEN_HOST=0.0.0.0 | |
| - FLOORGEN_PORT=8000 | |
| - FLOORGEN_DEVICE=cuda | |
| - FLOORGEN_LOG_LEVEL=INFO | |
| - FLOORGEN_DATA_DIR=/app/data/processed | |
| - FLOORGEN_CHECKPOINT=/app/checkpoints/rag_diffusion.pt | |
| volumes: | |
| - ./data/processed:/app/data/processed:ro | |
| - ./checkpoints:/app/checkpoints:ro | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: all | |
| capabilities: [gpu] | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:8000/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 40s | |