Set up mailing for Forgejo (#37)

This commit is contained in:
Nicolas Jeannerod 2024-11-27 18:12:03 +01:00
commit 0e7eef5ea2
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -16,15 +16,19 @@ in
HTTP_ADDR = "127.0.0.1";
LANDING_PAGE = "explore";
};
mailer = {
ENABLED = true;
SMTP_ADDR = "mail.protagio.nl";
SMTP_PORT = "587";
FROM = "git@fediversity.eu";
USER = "git@fediversity.eu";
};
};
mailerPasswordFile = "/var/lib/forgejo/data/keys/forgejo-mailpw";
settings.service.ENABLE_NOTIFY_MAIL = true;
settings.mailer = {
ENABLED = true;
PROTOCOL = "smtp+starttls";
SMTP_ADDR = "mail.protagio.nl";
SMTP_PORT = "587";
FROM = "git@fediversity.eu";
USER = "git@fediversity.eu";
};
secrets.mailer.PASSWD = "/var/lib/forgejo/data/keys/forgejo-mailpw";
database = {
type = "mysql";
socket = "/run/mysqld/mysqld.sock";