Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesbrink/docker-comfyui
ComfyUI Stable Diffusion
https://github.com/jamesbrink/docker-comfyui
Last synced: about 1 month ago
JSON representation
ComfyUI Stable Diffusion
- Host: GitHub
- URL: https://github.com/jamesbrink/docker-comfyui
- Owner: jamesbrink
- Created: 2024-08-11T03:19:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T05:40:36.000Z (5 months ago)
- Last Synced: 2024-10-21T02:05:47.187Z (2 months ago)
- Language: Makefile
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ComfyUI (Stable Diffusion)
## About
Simple Docker image for the [ComfyUI web interface][ComfyUI], with [ComfyUI Manager][ComfyUIManager]. This docker image has only been tested on **Linux with NVIDIA GPUs**. Be sure to use a volume for `/comfyui` if you want to persist settings in the event the container is destroyed.
## Usage
Build and run the container container:
```shell
make
docker run -d --gpus all -p 8188:8188 -v ./models:/comfyui/models -v ./output:/comfyui/output -v ./input:/comfyui/input --name comfyui jamesbrink/comfyui
```Optionally run container on host nework:
```shell
docker run -d --gpus all --network=host -v ./models:/comfyui/models -v ./output:/comfyui/output -v ./input:/comfyui/input --name comfyui jamesbrink/comfyui
```If you want to share models between ComfyUI and tools like Fooocus, you can map the volumes like so:
```shell
mkdir -p ~/AI/ComfyUI
mkdir -p ~/AI/Models/StableDiffusion/
mkdir -p ~/AI/Output
mkdir -p ~/AI/Input
```Then simply run the container with the newly mapped volumes:
```shell
docker run -d --gpus all --network=host -v ~/AI/ComfyUI:/comfyui -v ~/AI/Models/StableDiffusion/:/comfyui/models -v ~/AI/Output:/comfyui/output -v ~/AI/Input:/comfyui/input --name comfyui jamesbrink/comfyui
```[ComfyUI]: https://github.com/comfyanonymous/ComfyUI
[ComfyUIManager]: https://github.com/ltdrdata/ComfyUI-Manager