feat: forgejo test

This commit is contained in:
Nick 2025-01-19 00:37:20 -06:00
parent 715a0271eb
commit 3d0023874a
2 changed files with 5 additions and 3 deletions

View file

@ -9,6 +9,7 @@ let
mastodonLabel = "Mastodon"; mastodonLabel = "Mastodon";
mastodonName = "mastodon"; mastodonName = "mastodon";
mastodonSubdomain = "social";
in in
{ {
label = mastodonLabel; label = mastodonLabel;
@ -16,6 +17,7 @@ in
email = { email = {
address0 = "noreply@${domain3}"; address0 = "noreply@${domain3}";
}; };
subdomain = mastodonSubdomain;
sops = { sops = {
path0 = "${sopsPath}/${mastodonName}"; path0 = "${sopsPath}/${mastodonName}";
}; };
@ -25,7 +27,7 @@ in
path2 = ""; path2 = "";
}; };
ssl = { ssl = {
cert = "${sslPath}/${domain3}/fullchain.pem"; cert = "${sslPath}/${mastodonSubdomain}.${domain3}/fullchain.pem";
key = "${sslPath}/${domain3}/key.pem"; key = "${sslPath}/${mastodonSubdomain}.${domain3}/key.pem";
}; };
} }

View file

@ -14,7 +14,7 @@ let
web web
; ;
service = mastodon; service = mastodon;
host = web.domains.url3; host = "${mastodon.subdomain}.${web.domains.url3}";
localhost = web.localhost.address0; localhost = web.localhost.address0;
in in
{ {