forked from Kaouthia/ComfyUI-Docker
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (26 loc) · 883 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (26 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ComfyUI Docker Compose File v1.0.1 by John Aldred
# http://www.johnaldred.com
# http://github.com/kaouthia
services:
comfyk:
build:
dockerfile: Dockerfile
image: comfyui:latest
container_name: comfyui
ports:
- "8188:8188"
volumes:
# persist your models, output, and settings:
- c:/home/user/comfyui/models:/app/ComfyUI/models
# persist your output images:
- c:/home/user/comfyui/output:/app/ComfyUI/output
# persist all your settings & extra nodes:
- c:/home/user/comfyui/settings:/app/ComfyUI/user/default:rw
# persist just your saved flows (overrides the workflows/ in default):
- c:/home/user/comfyui/flows:/app/ComfyUI/user/default/workflows:rw
runtime: nvidia
environment:
- NVIDIA_VISIBLE_DEVICES=all
stdin_open: true
tty: true
restart: unless-stopped