feat: added comfyui

This commit is contained in:
Nick 2025-11-16 20:25:45 -06:00
parent 6f97e69745
commit 2fc17f3539
3 changed files with 155 additions and 259 deletions

View file

@ -1,11 +1,15 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
domain0
sslPath
varPath
mntPath
;
label = "ComfyUI";
name = "comfyui";
domain = "${name}.${domain0}";
ssl = "${sslPath}/${domain}";
in
{
label = label;
@ -16,23 +20,24 @@ in
"comfy"
"ui"
];
domains = {
url0 = domain;
};
ports = {
port0 = 8188;
};
interface = {
id = "vm-comfy";
mac = "02:00:00:00:54:24";
idUser = "vmuser-comfy";
macUser = "02:00:00:00:00:24";
ip = "192.168.50.214";
gate = "192.168.50.1";
ssh = 2304;
};
varPaths = {
path0 = "${varPath}/${name}";
};
mntPaths = {
path0 = "${mntPath}/${name}";
};
secretPaths = {
path0 = "/run/secrets";
};
ssl = {
path = ssl;
cert = "${ssl}/fullchain.pem";
key = "${ssl}/key.pem";
};
}