mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 14:07:09 +08:00
Update compose.yml
This commit is contained in:
parent
0933fa3d0e
commit
ffda0b1bb7
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user