first
This commit is contained in:
22
ecosystem.config.js
Normal file
22
ecosystem.config.js
Normal 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
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user