Add postmark

This commit is contained in:
Philip Peterson 2026-05-23 20:12:53 -08:00
parent b86e07f29e
commit 8003d7c038
5 changed files with 31 additions and 0 deletions

View file

@ -43,6 +43,10 @@
["my-portfolio"] ["my-portfolio"]
"git@github.com:philip-peterson/my-portfolio.git" "git@github.com:philip-peterson/my-portfolio.git"
"main") "main")
(makeConfigFile
["com" "coldairnetworks"]
"git@github.com:Cold-Air-Networks/coldairnetworks.com.git"
"main")
]; ];
configDir = configDir =

View file

@ -73,6 +73,11 @@ in {
file = ./secrets/anthropic-api-key.age; file = ./secrets/anthropic-api-key.age;
owner = "root"; owner = "root";
}; };
postmark = {
file = ./secrets/postmark.age;
owner = "root";
};
}; };
environment.systemPackages = [ environment.systemPackages = [
@ -232,6 +237,15 @@ in {
ports = ["3010:8080"]; ports = ["3010:8080"];
}; };
"coldairnetworks" = {
autoStart = true;
image = "coldairnetworks/coldairnetworks.com:latest";
volumes = [];
environment = {};
environmentFiles = [ config.age.secrets.postmark.path ];
ports = ["3012:8080"];
};
}; };
}; };

View file

@ -128,6 +128,16 @@
''; '';
}; };
}; };
"coldairnetworks.com" = {
enableACME = true;
forceSSL = false;
addSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3012/";
};
};
"blog.quineglobal.com" = { "blog.quineglobal.com" = {
enableACME = false; enableACME = false;
forceSSL = false; forceSSL = false;

View file

@ -11,4 +11,7 @@ in {
# ANTHROPIC_API_KEY # ANTHROPIC_API_KEY
"./anthropic-api-key.age".publicKeys = [mainframePublicKey]; "./anthropic-api-key.age".publicKeys = [mainframePublicKey];
# POSTMARK_SERVER_TOKEN
"./postmark.age".publicKeys = [mainframePublicKey];
} }

BIN
nixos/secrets/postmark.age Normal file

Binary file not shown.