This is a dockerized version of the ComfyUI project.
- Clone the repository
git clone https://github.com/m4tt72/comfyui-docker
- Run the compose file
cd comfyui-docker
docker compose up -d --build
You can run the container without cloning the repository by using the following docker-compose.yml
file:
# compose.yml
services:
comfyui:
build:
context: https://github.com/m4tt72/comfyui-docker.git
container_name: comfyui
restart: unless-stopped
volumes:
- ./models/checkpoints:/app/models/checkpoints
- ./output:/app/output
ports:
- 8080:8080
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]