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"]
|
["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 =
|
||||||
|
|
|
||||||
|
|
@ -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"];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
BIN
nixos/secrets/postmark.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue