feat: refactored and updated smtp config

This commit is contained in:
Nick 2025-10-22 16:48:50 -05:00
parent 1b98c4eff8
commit c469f48b4e
18 changed files with 79 additions and 105 deletions

View file

@ -26,13 +26,13 @@ in
APP_URL = "https://${host}";
APP_KEY_FILE = config.sops.secrets."${service.name}-pass".path;
DB_PASSWORD_FILE = config.sops.secrets."${service.name}-data".path;
# MAIL_MAILER = "smtp";
# MAIL_HOST = smtp.hostname;
# MAIL_PORT = 2525;
# MAIL_FROM = service.email.address0;
# MAIL_USERNAME = service.email.address0;
# MAIL_PASSWORD = ""; # if you ever need to use smtp, you have to hardcode your smtp password here
# MAIL_ENCRYPTION = "tls";
MAIL_MAILER = smtp.name;
MAIL_HOST = smtp.hostname;
MAIL_PORT = smtp.ports.port0;
MAIL_FROM = smtp.email.address0;
MAIL_USERNAME = smtp.email.address0;
MAIL_PASSWORD_FILE = config.sops.secrets."${service.name}-smtp".path;
MAIL_ENCRYPTION = "tls";
SITE_OWNER = email.address2;
};
};