feat: added glance

This commit is contained in:
Nick 2025-05-24 02:45:00 -05:00
parent 93efd494ca
commit a0de2dba92
15 changed files with 268 additions and 64 deletions

View file

@ -0,0 +1,34 @@
{ instancesFunctions }:
let
inherit (instancesFunctions)
domain0
servicePath
sslPath
sopsPath
;
glanceLabel = "Glance";
glanceName = "glance";
glanceSubdomain = "dashboard";
in
{
label = glanceLabel;
name = glanceName;
email = {
address0 = "noreply@${domain0}";
};
sops = {
path0 = "${sopsPath}/${glanceName}";
};
subdomain = glanceSubdomain;
paths = {
path0 = "${servicePath}/${glanceLabel}";
};
ports = {
port0 = 3434;
};
ssl = {
cert = "${sslPath}/${glanceSubdomain}.${domain0}/fullchain.pem";
key = "${sslPath}/${glanceSubdomain}.${domain0}/key.pem";
};
}