feat: forgejo test

This commit is contained in:
Nick 2025-01-18 23:55:33 -06:00
parent 66b81e1197
commit 7730c2e89c
5 changed files with 76 additions and 64 deletions

View file

@ -1,7 +1,7 @@
{instancesFunctions}: let
inherit
(instancesFunctions)
domain1
{ instancesFunctions }:
let
inherit (instancesFunctions)
domain3
servicePath
sslPath
sopsPath
@ -10,11 +10,12 @@
forgejoLabel = "Forgejo";
forgejoName = "forgejo";
forgejoSubdomain = "source";
in {
in
{
label = forgejoLabel;
name = forgejoName;
email = {
address0 = "noreply@${forgejoSubdomain}.${domain1}";
address0 = "noreply@${domain3}";
};
sops = {
path0 = "${sopsPath}/${forgejoName}";
@ -27,7 +28,7 @@ in {
port0 = 3033;
};
ssl = {
cert = "${sslPath}/${forgejoSubdomain}.${domain1}/fullchain.pem";
key = "${sslPath}/${forgejoSubdomain}.${domain1}/key.pem";
cert = "${sslPath}/${forgejoSubdomain}.${domain3}/fullchain.pem";
key = "${sslPath}/${forgejoSubdomain}.${domain3}/key.pem";
};
}