Spaces:
Configuration error
Configuration error
Download docker-compose.gpu.yml from pirzm1/video-generator: direct link, hf CLI and curl.
- Browser
- Download file 826 Bytes
-
https://huggingface.co/spaces/pirzm1/video-generator/resolve/main/docker-compose.gpu.yml
- Command line
-
hf download hf://spaces/pirzm1/video-generator/docker-compose.gpu.yml
-
curl -L -o docker-compose.gpu.yml https://huggingface.co/spaces/pirzm1/video-generator/resolve/main/docker-compose.gpu.yml
826 Bytes
| version: '3.8' | |
| services: | |
| avs-gpu: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile.gpu | |
| image: avs-gpu:latest | |
| container_name: avs-gpu | |
| ports: | |
| - "3000:3000" | |
| - "8080:8080" | |
| volumes: | |
| - ./workspace:/app/workspace | |
| - ./input:/app/input | |
| - ./output:/app/output | |
| - ./resource:/app/resource | |
| environment: | |
| - NODE_ENV=production | |
| - NVIDIA_VISIBLE_DEVICES=all | |
| - NVIDIA_DRIVER_CAPABILITIES=compute,utility,video | |
| deploy: | |
| resources: | |
| reservations: | |
| devices: | |
| - driver: nvidia | |
| count: all | |
| capabilities: [gpu] | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:3000/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 60s | |