Files
SMTP-to-Pushover/ecosystem.config.js
Joris Bertomeu 5c6da90f98 first
2025-08-19 16:34:19 +02:00

22 lines
488 B
JavaScript

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
}
]
};