add mail settings for discourse
This commit is contained in:
parent
b6c309a2b3
commit
e401d1040f
2 changed files with 37 additions and 3 deletions
|
|
@ -10,13 +10,24 @@
|
|||
admin = {
|
||||
email = "yisroel.d.baum@gmail.com";
|
||||
fullName = "Yisroel Baum";
|
||||
passwordFile = "/run/secrets/discourse-admin-password";
|
||||
passwordFile = config.sops.secrets."discourse-admin-password".path;
|
||||
username = "yisroeldbaum";
|
||||
};
|
||||
database.ignorePostgresqlVersion = true;
|
||||
hostname = "discourse.torahimderecheretz.com";
|
||||
mail = {};
|
||||
secretKeyBaseFile = "/run/secrets/discourse-secret-key";
|
||||
mail = {
|
||||
notificationEmailAddress = "noreply@discourse.torahimderecheretz.com";
|
||||
contactEmailAddress = "";
|
||||
|
||||
outgoing = {
|
||||
serverAddress = "in-v3.mailjet.com";
|
||||
port = 587;
|
||||
username = "1ebdd73d944240c1a9c3201e52a1e8c6";
|
||||
passwordFile = config.sops.secrets."discourse-mail-key".path;
|
||||
authentication = "login";
|
||||
};
|
||||
};
|
||||
secretKeyBaseFile = config.sops.secrets."discourse-secret-key".path;
|
||||
siteSettings = {
|
||||
required = {
|
||||
title = "Torah Im Derech Eretz";
|
||||
|
|
@ -40,5 +51,12 @@
|
|||
owner = "discourse";
|
||||
group = "discourse";
|
||||
};
|
||||
"discourse-mail-key" = {
|
||||
sopsFile = ./secrets/discourseMailKey.yaml;
|
||||
mode = "0400";
|
||||
key = "key";
|
||||
owner = "discourse";
|
||||
group = "discourse";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue