diff --git a/stacks/comfyui/compose.yaml b/stacks/comfyui/compose.yaml new file mode 100644 index 0000000..f673290 --- /dev/null +++ b/stacks/comfyui/compose.yaml @@ -0,0 +1,27 @@ +services: + comfyui: + container_name: comfyui + # slim-версия: сначала берут её, а не megapak + image: yanwk/comfyui-boot:cu126-slim + init: true + ports: + - 8188:8188 + volumes: + # Абсолютные пути на хосте + - /mnt/ssd/apps/comfyui/storage:/root + - /mnt/ssd/apps/comfyui/models:/root/ComfyUI/models + - /mnt/ssd/apps/comfyui/input:/root/ComfyUI/input + - /mnt/ssd/apps/comfyui/output:/root/ComfyUI/output + environment: + # V100 не умеет bf16, поэтому принудительно fp16 + - CLI_ARGS=--force-fp16 + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: + - gpu + restart: unless-stopped +networks: {}