支持nvidia GPU的ComfyUI(support nvidia GPU's comfyui)
199
ReadME
https://github.com/sleechengn/comfyui-nvidia-gpu-full-docker-build
the port is: 80
example:
networks:
lan13:
external: true
name: "lan13"
volumes:
comfyui-base:
name: comyui-base
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui
comfyui-wd14-model:
name: comfyui-wd14-model
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-wd14-model
comfyui-models:
name: comyui-models
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-models
comfyui-cn-processor:
name: comfyui-cn-processor
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-cn-processor
comfyui-input:
name: comfyui-input
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-input
comfyui-output:
name: comfyui-output
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-output
comfyui-huggingface_hub:
name: comfyui-huggingface_hub
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-huggingface_hub
comfyui-mimic-motion-models:
name: comfyui-mimic-motion-models
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-mimic-motion-models
comfyui-site-packages:
name: comfyui-site-packages
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-site-packages
comfyui-user:
name: comfyui-user
driver: local
driver_opts:
o: bind
type: none
device: /opt/apps/comfyui-user
services:
comfyui:
container_name: "comfyui"
hostname: "comfyui"
image: "sleechengn/comfyui:nvidia-gpu-full"
restart: always
#build:
# context: .
# shm_size: 16g
#shm_size: 16g
ipc: host
ports:
- "8080:80"
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
- HF_HOME=/opt/huggingface_hub
# - HF_ENDPOINT=https://hf-mirror.com
#command: ["--lowvram", "--preview-method", "auto", "--use-split-cross-attention"]
command: ["--front-end-version", "latest", "--listen", "0.0.0.0", "--disable-smart-memory","--enable-cors-header" ,"'*'"]
#command: ["--listen", "0.0.0.0", "--disable-smart-memory", "--enable-cors-header" ,"'*'"]
volumes:
- comfyui-base:/opt/ComfyUI
- comfyui-wd14-model:/opt/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger/models
- comfyui-models:/opt/ComfyUI/models
- comfyui-cn-processor:/opt/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts
- comfyui-output:/opt/ComfyUI/output
- comfyui-input:/opt/ComfyUI/input
- comfyui-huggingface_hub:/opt/huggingface_hub
- comfyui-mimic-motion-models:/opt/ComfyUI/custom_nodes/ComfyUI-MimicMotion/models
- comfyui-site-packages:/usr/local/lib/python3.10/dist-packages
- comfyui-user:/opt/ComfyUI/user
# memswap_limit: 16G
runtime: nvidia
# deploy:
# resources:
# limits:
# memory: 16G
# reservations:
# devices:
# - capabilities: [ gpu ]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
comfyui
ttyd
filebrowser
Content type
Image
Digest
sha256:567aeb064…
Size
6.3 GB
Last updated
almost 2 years ago
docker pull sleechengn/comfyui:nvidia-gpu-full