services: hunyuan3d: build: context: ../Hunyuan3D-2 dockerfile: ../docker/Dockerfile image: hunyuan3d-2:local container_name: hunyuan3d ports: - "8080:8080" volumes: - hunyuan3d-models:/root/.cache/hy3dgen - ./outputs:/workspace/outputs command: > python3 gradio_app.py --model_path tencent/Hunyuan3D-2mini --subfolder hunyuan3d-dit-v2-mini-turbo --texgen_model_path tencent/Hunyuan3D-2 --low_vram_mode --enable_flashvdm --host 0.0.0.0 --port 8080 deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] restart: unless-stopped volumes: hunyuan3d-models: