Add email to forgejo
This commit is contained in:
parent
60fb3b676c
commit
2b75ce37b4
1 changed files with 9 additions and 0 deletions
|
@ -448,6 +448,7 @@ in {
|
|||
forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
mailerPasswordFile = "/etc/secrets/forge-email";
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "forge.catnip.ee";
|
||||
|
@ -456,6 +457,14 @@ in {
|
|||
START_SSH_SERVER = true;
|
||||
ROOT_URL = "https://${config.services.forgejo.settings.server.DOMAIN}";
|
||||
};
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
FROM = "forge@catnip.ee";
|
||||
PROTOCOL = "smtps";
|
||||
SMTP_ADDR = "mx1.sly.ee";
|
||||
SMTP_PORT = 465;
|
||||
USER = "forge@catnip.ee";
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue