forked from DGNum/infrastructure
feat(forgejo): Update config, and enable mail notifications
This commit is contained in:
parent
fe076d5ba4
commit
9e75839ada
1 changed files with 21 additions and 16 deletions
|
@ -24,6 +24,26 @@ in
|
||||||
APP_NAME = "Forge git de la DGNum";
|
APP_NAME = "Forge git de la DGNum";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
actions = {
|
||||||
|
ENABLED = true;
|
||||||
|
DEFAULT_ACTIONS_URL = "https://gitea.com";
|
||||||
|
};
|
||||||
|
|
||||||
|
admin = {
|
||||||
|
DEFAULT_EMAIL_NOTIFICATIONS = "enabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
log.LEVEL = "Warn";
|
||||||
|
|
||||||
|
mailer = {
|
||||||
|
ENABLED = true;
|
||||||
|
FROM = "git@infra.dgnum.eu";
|
||||||
|
PROTOCOL = "smtps";
|
||||||
|
SMTP_ADDR = "kurisu.lahfa.xyz";
|
||||||
|
SMTP_PORT = 465;
|
||||||
|
USER = "web-services@infra.dgnum.eu";
|
||||||
|
};
|
||||||
|
|
||||||
server = {
|
server = {
|
||||||
ROOT_URL = "https://${host}/";
|
ROOT_URL = "https://${host}/";
|
||||||
DOMAIN = host;
|
DOMAIN = host;
|
||||||
|
@ -34,28 +54,13 @@ in
|
||||||
|
|
||||||
service = {
|
service = {
|
||||||
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu,*";
|
EMAIL_DOMAIN_ALLOWLIST = "dgnum.eu,*";
|
||||||
|
ENABLE_NOTIFY_MAIL = true;
|
||||||
|
|
||||||
DISABLE_REGISTRATION = false;
|
DISABLE_REGISTRATION = false;
|
||||||
REGISTER_EMAIL_CONFIRM = true;
|
REGISTER_EMAIL_CONFIRM = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
log.LEVEL = "Warn";
|
|
||||||
|
|
||||||
ui.THEMES = "forgejo-auto,forgejo-light,forgejo-dark";
|
ui.THEMES = "forgejo-auto,forgejo-light,forgejo-dark";
|
||||||
|
|
||||||
actions = {
|
|
||||||
ENABLED = true;
|
|
||||||
DEFAULT_ACTIONS_URL = "https://gitea.com";
|
|
||||||
};
|
|
||||||
|
|
||||||
mailer = {
|
|
||||||
ENABLED = true;
|
|
||||||
FROM = "git@infra.dgnum.eu";
|
|
||||||
PROTOCOL = "smtps";
|
|
||||||
SMTP_ADDR = "kurisu.lahfa.xyz";
|
|
||||||
SMTP_PORT = 465;
|
|
||||||
USER = "web-services@infra.dgnum.eu";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mailerPasswordFile = config.age.secrets."forgejo-mailer_password_file".path;
|
mailerPasswordFile = config.age.secrets."forgejo-mailer_password_file".path;
|
||||||
|
|
Loading…
Reference in a new issue