-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 855 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 855 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
services:
comfyui:
build:
context: .
dockerfile: Dockerfile
container_name: comfyui
user: "${PUID}:${PGID}"
command: python3 main.py --listen 0.0.0.0 --port 8188 --lowvram --force-fp16
ports:
- "8188:8188"
devices:
- /dev/kfd:/dev/kfd
- /dev/dri:/dev/dri
volumes:
- ${BASE_STORAGE_PATH}/comfyui/user:/workspace/ComfyUI/user
- ${BASE_STORAGE_PATH}/comfyui/models:/workspace/ComfyUI/models
- ${BASE_STORAGE_PATH}/comfyui/output:/workspace/ComfyUI/output
- ${BASE_STORAGE_PATH}/comfyui/input:/workspace/ComfyUI/input
- ${BASE_STORAGE_PATH}/comfyui/temp:/workspace/ComfyUI/temp
environment:
- HSA_OVERRIDE_GFX_VERSION=12.0.1
- PYTORCH_ROCM_ARCH=gfx1201
group_add:
- "${VIDEO_GID:-44}"
- "${RENDER_GID:-109}"
restart: unless-stopped