machines/magenta: fix smtp config
This commit is contained in:
parent
0dd51b9e87
commit
0586a4037b
5 changed files with 7 additions and 6 deletions
Binary file not shown.
|
@ -19,7 +19,7 @@ in
|
|||
domain = hostname;
|
||||
rootUrl = "https://${hostname}";
|
||||
appName = "Pleshevskiy Git Repositories";
|
||||
mailerPasswordFile = config.age.secrets.gitea-mailserver-passfile.path;
|
||||
mailerPasswordFile = config.age.secrets.gitea-smtp-passfile.path;
|
||||
database = {
|
||||
type = "postgres";
|
||||
host = "/run/postgresql";
|
||||
|
@ -88,9 +88,10 @@ in
|
|||
mailer = {
|
||||
ENABLED = true;
|
||||
MAILER_TYPE = "smtp";
|
||||
FROM = "\"${giteaCfg.appName}\" <no-reply@pleshevski.ru>";
|
||||
USER = "dmitriy@pleshevski.ru";
|
||||
HOST = "mail.pleshevski.ru:465";
|
||||
SMTP_ADDR = "mail.pleshevski.ru";
|
||||
SMTP_PORT = 465;
|
||||
USER = "gitea@pleshevski.ru";
|
||||
FROM = "\"${giteaCfg.appName}\" <gitea@pleshevski.ru>";
|
||||
};
|
||||
openid = {
|
||||
ENABLE_OPENID_SIGNIN = true;
|
||||
|
@ -109,8 +110,8 @@ in
|
|||
locations."/".proxyPass = "http://localhost:${toString giteaCfg.httpPort}/";
|
||||
};
|
||||
|
||||
age.secrets.gitea-mailserver-passfile = {
|
||||
file = ../../../secrets/mailserver-users-jan-passfile.age;
|
||||
age.secrets.gitea-smtp-passfile = {
|
||||
file = ../../../secrets/gitea-smtp-passfile.age;
|
||||
owner = giteaCfg.user;
|
||||
group = "gitea";
|
||||
};
|
||||
|
|
Binary file not shown.
BIN
secrets/gitea-smtp-passfile.age
Normal file
BIN
secrets/gitea-smtp-passfile.age
Normal file
Binary file not shown.
BIN
secrets/mailserver-users-gitea-passfile.age
Normal file
BIN
secrets/mailserver-users-gitea-passfile.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue