Natsubrei/dsh-comfyui-panel ↗★ 0
dsh-comfyui-panel
在Web UI中嵌入ComfyUI编辑器与工具 适合需要在DSH内部直接编辑工作流、管理ComfyUI进程的AI生图用户。
同名套件的其他儲存庫
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Natsubrei/dsh-comfyui-panel說明文件
閱讀完整 README ↗Configuration
The bundle's own patch, cordis.patch.yml:
- insert:
- id: dsh-comfyui-panel
name: dsh-comfyui-panel
config:
upstream: http://127.0.0.1:8188
prefix: /comfyui
Override the row in your profile's cordis.patch.yml by the same id to change
upstream or prefix; a patch replaces the row's whole config, so repeat
every key you keep.
prefix is the same-origin path the panel is served from; upstream is the
ComfyUI server. Both must agree with the panel's hard-coded /comfyui/.
Process management needs no configuration: open the panel's Server section,
point it at the ComfyUI directory (the folder with main.py; a common location
is detected automatically), and press Start. The command is derived from
that directory (/.venv/bin/python, else python3) and the arguments from
the configured upstream port, so the panel cannot run arbitrary commands. The
directory and the Start with DSH flag are stored in the plugin's own
dsh_comfyui domain, not in the DSH profile.
For advanced setups, the plugin row still accepts a supervise block that
takes precedence at start-up:
supervise:
enabled: true
command: /opt/ComfyUI/.venv/bin/python
args: [main.py, --listen, 127.0.0.1, --port, '8188']
cwd: /opt/ComfyUI
restartDelayMs: 5000
maxRestarts: 5
probeIntervalMs: 20000
startTimeoutMs: 120000
logPath: /var/log/comfyui/comfyui.log
cwd is required when that block is enabled; a missing value fails the plugin
load instead of silently never starting ComfyUI. command defaults to
python3, args to main.py --listen 127.0.0.1. An upstream that already
answers /system_stats is adopted (state: external) rather than duplicated.
Stopping the plugin stops only a process it started.