m4tt72 / comfyui-docker

ComfyUI dockerized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ComfyUI Dockerized

This is a dockerized version of the ComfyUI project.

How to run

  1. Clone the repository
git clone https://github.com/m4tt72/comfyui-docker
  1. Run the compose file
cd comfyui-docker
docker compose up -d --build

Run without cloning

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]

About

ComfyUI dockerized


Languages

Language:Shell 59.6%Language:Dockerfile 40.4%