mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: caddy test
This commit is contained in:
parent
f4e269e6fd
commit
71ad4654d1
1 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,14 @@
|
||||||
{instancesFunctions}: let
|
{instancesFunctions}: let
|
||||||
inherit (instancesFunctions) domain1 servicePath sslPath sopsPath;
|
inherit (instancesFunctions) domain3 servicePath sslPath sopsPath;
|
||||||
|
|
||||||
mastodonLabel = "Mastodon";
|
mastodonLabel = "Mastodon";
|
||||||
mastodonName = "mastodon";
|
mastodonName = "mastodon";
|
||||||
|
mastodonSubdomain = "social";
|
||||||
in {
|
in {
|
||||||
label = mastodonLabel;
|
label = mastodonLabel;
|
||||||
name = mastodonName;
|
name = mastodonName;
|
||||||
email = {
|
email = {
|
||||||
address0 = "thenutrivore@${domain1}";
|
address0 = "nick@${domain3}";
|
||||||
};
|
};
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${mastodonName}";
|
path0 = "${sopsPath}/${mastodonName}";
|
||||||
|
@ -17,9 +18,9 @@ in {
|
||||||
path1 = "";
|
path1 = "";
|
||||||
path2 = "";
|
path2 = "";
|
||||||
};
|
};
|
||||||
subdomain = "social";
|
subdomain = mastodonSubdomain;
|
||||||
ssl = {
|
ssl = {
|
||||||
cert = "${sslPath}/${domain1}/fullchain.pem";
|
cert = "${sslPath}/${mastodonSubdomain}.${domain3}/fullchain.pem";
|
||||||
key = "${sslPath}/${domain1}/key.pem";
|
key = "${sslPath}/${mastodonSubdomain}.${domain3}/key.pem";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue