mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: added glance
This commit is contained in:
parent
93efd494ca
commit
a0de2dba92
15 changed files with 268 additions and 64 deletions
34
modules/config/instances/config/glance.nix
Normal file
34
modules/config/instances/config/glance.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue