mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 13:27:28 -07:00
Add comfyui
This commit is contained in:
parent
017235a20a
commit
7b43cbb150
13
comfyui/README.md
Normal file
13
comfyui/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# ComfyUI
|
||||
ComfyUI is the frontend package allowing you to mess around with Stable Diffusion models.
|
||||
State of the art models include Flux.1 Dev, Flux.1 Schnell, and later versions of Stable Diffusion.
|
||||
|
||||
## Installation
|
||||
```
|
||||
docker compose down && docker system prune -af && docker compose up -d && docker logs -f comfyui
|
||||
```
|
||||
|
||||
## GPU Requirements
|
||||
Have a strong enough GPU to run these models. I've ran Flux.1 Dev on a 3070 with 24GB of VRAM.
|
||||
Other than that consult charts for what you can run on your system.
|
||||
|
29
comfyui/docker-compose.yml
Normal file
29
comfyui/docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
services:
|
||||
comfyui:
|
||||
image: ghcr.io/lecode-official/comfyui-docker:latest
|
||||
container_name: comfyui
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik
|
||||
environment:
|
||||
- USER_ID=1006
|
||||
- GROUP_ID=1008
|
||||
volumes:
|
||||
- /pwspool/software/comfyui/models:/opt/comfyui/models:rw
|
||||
- /pwspool/software/comfyui/nodes:/opt/comfyui/custom_nodes:rw
|
||||
runtime: nvidia
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: ["gpu"]
|
||||
labels:
|
||||
- traefik.http.routers.comfyui.rule=Host(`comfyui.whitney.rip`)
|
||||
- traefik.http.routers.comfyui.tls=true
|
||||
- traefik.http.routers.comfyui.tls.certresolver=lets-encrypt
|
||||
- traefik.http.services.comfyui.loadbalancer.server.port=8188
|
||||
|
Loading…
x
Reference in New Issue
Block a user