feat: added comfyui

This commit is contained in:
Nick 2025-11-16 03:53:16 -06:00
parent ae3e0126d7
commit 2e9f5e5260
7 changed files with 391 additions and 219 deletions

View file

@ -1,41 +1,38 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
domain0
servicePath
sslPath
sopsPath
varPath
mntPath
;
label = "ComfyUI";
name = "comfyui";
subdomain = "comfyui";
domain = "${subdomain}.${domain0}";
in
{
label = label;
name = name;
short = label;
sops = {
path0 = "${sopsPath}/${name}";
};
domains = {
url0 = domain;
};
subdomain = subdomain;
tags = [
name
"comfy"
"ui"
];
paths = {
path0 = "${servicePath}/${label}";
};
ports = {
port0 = 8188;
};
ssl = {
cert = "${sslPath}/${domain}/fullchain.pem";
key = "${sslPath}/${domain}/key.pem";
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}";
};
}