Bases: BaseSettingsModel
Comfy Remote Executable & Launch profiles settings.
Source code in server/remote_settings.py
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57 | class ComfyRemoteSetting(BaseSettingsModel):
"""Comfy Remote Executable & Launch profiles settings."""
name: str = SettingsField(default="", title="Entry Name")
server_pulse_port: int = SettingsField(
55055,
title="Default port to pulse connection to backend",
description=(
"Websocket port to send heartbeat over, "
"to make sure the backend process is still alive. "
"This port must be configured to be the same on the "
"server you are connecting to."
),
)
frontend_port: int = SettingsField(
55056,
title="Default port for frontend RPC",
description=(
"Websocket port to communicate with local browser instance"
),
)
http_server_port: int = SettingsField(
5454,
title="Default port for website user interacts with.",
description=(
"This port is used to launch a wrapper website "
"for ComfyUI. This websites hosts an <iframe> the "
"'real' ComfyUI will be embedded in."
),
)
comfy_web_adress: str = SettingsField(
default="http://localhost:8188",
title="ComfyUI Web Address",
description=(
"Web address of the frontend. On localhost, "
"ComfyUI runs on port 8188, so the address would be "
"'http://localhost:8188'. If comfyui is on the web, "
"use something like 'https://comfyui.contoso.com'."
),
)
open_browser_on_connect: bool = SettingsField(
default=True, title="Open browser on connect?"
)
|