Update gitea mailer config

This commit is contained in:
2023-09-14 13:08:19 +01:00
parent 846f4551d3
commit b3a695aac3

View File

@@ -51,6 +51,8 @@
service = { service = {
REGISTER_EMAIL_CONFIRM = true; REGISTER_EMAIL_CONFIRM = true;
DISABLE_REGISTRATION = true; DISABLE_REGISTRATION = true;
ENABLE_NOTIFY_MAIL = true;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
}; };
repository = { repository = {
ENABLE_PUSH_CREATE_USER = true; ENABLE_PUSH_CREATE_USER = true;
@@ -58,10 +60,8 @@
mailer = { mailer = {
ENABLED = true; ENABLED = true;
FROM = "gitea@broccoli.town"; FROM = "gitea@broccoli.town";
PROTOCOL = "smtp";
SMTP_ADDR = "smtp.sendgrid.net"; SMTP_ADDR = "smtp.sendgrid.net";
SMTP_PORT = 465; SMTP_PORT = 587;
IS_TLS_ENABLED = true;
USER = "apikey"; USER = "apikey";
}; };
actions = { actions = {