Enable emails for forgejo

This commit is contained in:
Andrea Ciceri 2024-03-14 19:10:09 +01:00
parent edf58b4488
commit 58f8584c3e
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -11,16 +11,26 @@
RUN_MODE = "prod"; # set to prod for better logs (worse performance)
APP_NAME = "git.aciceri.dev";
};
service.ENABLE_NOTIFY_MAIL = true;
session.COOKIE_SECURE = true;
service.DISABLE_REGISTRATION = true;
server = {
HTTP_PORT = 3002;
ROOT_URL = "https://git.aciceri.dev";
};
mailer = {
ENABLED = true;
PROTOCOL = "smtp+starttls";
SMTP_ADDR = "smtp.autistici.org";
SMTP_PORT = 587;
FROM = "andrea.ciceri@autistici.org";
USER = "andrea.ciceri@autistici.org";
};
other = {
SHOW_FOOTER_VERSION = false;
};
};
mailerPasswordFile = config.age.secrets.autistici-password.path;
dump.enable = true;
};