Update compose.yml

This commit is contained in:
Karol 2024-10-21 23:26:13 +02:00
parent 0933fa3d0e
commit ffda0b1bb7

View File

@ -2,6 +2,7 @@
x-comfyui-common: &comfyui-common
build:
context: .
image: comfyui
ports:
- "${PORT:-8188}:8188"
volumes:
@ -11,13 +12,13 @@ x-comfyui-common: &comfyui-common
# ComfyUI profiles
services:
cpu:
comfyui-cpu:
<<: *comfyui-common
command: >
python main.py --listen=${LISTEN_IP:-0.0.0.0} --cpu
profiles:
- cpu
cuda:
comfyui-cuda:
<<: *comfyui-common
command: >
python main.py --listen=${LISTEN_IP:-0.0.0.0}