This commit is contained in:
Joris Bertomeu
2025-08-19 16:34:19 +02:00
commit 5c6da90f98
33 changed files with 8066 additions and 0 deletions

22
ecosystem.config.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
apps: [
{
name: 'mail-notifier',
script: 'src/server.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '256M',
env: {
NODE_ENV: 'production',
SERVER_PORT: 3000,
SMTP_PORT: 2525,
SMTP_HOST: '0.0.0.0'
},
log_date_format: 'YYYY-MM-DD HH:mm:ss',
error_file: '/app/logs/error.log',
out_file: '/app/logs/out.log',
merge_logs: true
}
]
};