inventaire: allow to customize the mailer config

This commit is contained in:
maxlath
2025-02-27 17:59:22 +01:00
parent b4b0ddab6f
commit f2ddb13bc7
2 changed files with 17 additions and 1 deletions

View File

@@ -19,7 +19,19 @@ module.exports = {
},
elasticsearch: {
origin: 'http://elasticsearch:9200',
}
},
mailer: {
disabled: false,
nodemailer: {
host: '${MAILER_SMTP_HOST}',
port: ${MAILER_SMTP_PORT},
auth: {
user: '${MAILER_SMTP_USERNAME}',
pass: '${MAILER_SMTP_PASSWORD}'
},
},
},
}
EOF