feat: added comfyui to caddy

This commit is contained in:
Nick 2025-07-27 17:52:29 -05:00
parent d443dc5953
commit 67537dc549
4 changed files with 56 additions and 41 deletions

View file

@ -1,7 +1,7 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
domain3
domain0
servicePath
sslPath
sopsPath
@ -9,15 +9,20 @@ let
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"
@ -29,5 +34,8 @@ in
ports = {
port0 = 8188;
};
ssl = {
cert = "${sslPath}/${domain0}/fullchain.pem";
key = "${sslPath}/${domain0}/key.pem";
};
}