YanWenKun / ComfyUI-Docker

🐳Dockerfile for 🎨ComfyUI. | 容器镜像与启动脚本
https://hub.docker.com/r/yanwk/comfyui-boot
Other
467 stars 87 forks source link

Pre-installing default custom nodes #28

Closed liusida closed 7 months ago

liusida commented 7 months ago

I am setting up several ComfyUI containers and would love to automate the installation of popular custom nodes for each container.

Is there a good way to configure the container to pre-install certain custom nodes for me?

For example, I think it'll be great to have a file that contains all the URLs for the custom nodes, and they can be installed automatically.

Thanks.

YanWenKun commented 7 months ago

I have a big all-in-one image megapak , which handles many denpendencies ComfyUI custom nodes would need, and a long download.sh which will download 30+ popular custom nodes.

For now I recommend modifying megapak for custom deployment.

And yeah, a user script for custom nodes make sense. But custom nodes need Python dependencies. Currently for users, click-install in ComfyUI-Manager would handle that. I need to figure out how that could be done for a user-defined list. (Or maybe requesting a batch-install feature for ComfyUI-Manager?)

liusida commented 7 months ago

Thanks, I'll take a look at megapak.