test: added roundcube

This commit is contained in:
Nick 2025-10-21 23:10:02 -05:00
parent ef84461b04
commit 3773d01b25
12 changed files with 101 additions and 2 deletions

View file

@ -0,0 +1,43 @@
{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
domain0
servicePath
sslPath
sopsPath
;
label = "Roundcube";
name = "roundcube";
subdomain = "mail";
domain = "${subdomain}.${domain0}";
in
{
label = label;
name = name;
short = "Round";
email = {
address0 = "noreply@${domain0}";
};
sops = {
path0 = "${sopsPath}/${name}";
};
domains = {
url0 = domain;
};
subdomain = subdomain;
tags = [
name
"email"
];
paths = {
path0 = "${servicePath}/${label}";
};
ports = {
port0 = 9999;
};
ssl = {
cert = "${sslPath}/${domain}/fullchain.pem";
key = "${sslPath}/${domain}/key.pem";
};
}