Add postmark
This commit is contained in:
parent
b86e07f29e
commit
8003d7c038
5 changed files with 31 additions and 0 deletions
|
|
@ -43,6 +43,10 @@
|
|||
["my-portfolio"]
|
||||
"git@github.com:philip-peterson/my-portfolio.git"
|
||||
"main")
|
||||
(makeConfigFile
|
||||
["com" "coldairnetworks"]
|
||||
"git@github.com:Cold-Air-Networks/coldairnetworks.com.git"
|
||||
"main")
|
||||
];
|
||||
|
||||
configDir =
|
||||
|
|
|
|||
|
|
@ -73,6 +73,11 @@ in {
|
|||
file = ./secrets/anthropic-api-key.age;
|
||||
owner = "root";
|
||||
};
|
||||
|
||||
postmark = {
|
||||
file = ./secrets/postmark.age;
|
||||
owner = "root";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
|
|
@ -232,6 +237,15 @@ in {
|
|||
ports = ["3010:8080"];
|
||||
};
|
||||
|
||||
"coldairnetworks" = {
|
||||
autoStart = true;
|
||||
image = "coldairnetworks/coldairnetworks.com:latest";
|
||||
volumes = [];
|
||||
environment = {};
|
||||
environmentFiles = [ config.age.secrets.postmark.path ];
|
||||
ports = ["3012:8080"];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -128,6 +128,16 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
"coldairnetworks.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = false;
|
||||
addSSL = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:3012/";
|
||||
};
|
||||
};
|
||||
|
||||
"blog.quineglobal.com" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
|
|
|
|||
|
|
@ -11,4 +11,7 @@ in {
|
|||
|
||||
# ANTHROPIC_API_KEY
|
||||
"./anthropic-api-key.age".publicKeys = [mainframePublicKey];
|
||||
|
||||
# POSTMARK_SERVER_TOKEN
|
||||
"./postmark.age".publicKeys = [mainframePublicKey];
|
||||
}
|
||||
|
|
|
|||
BIN
nixos/secrets/postmark.age
Normal file
BIN
nixos/secrets/postmark.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue