← back to Fentucci
ecosystem.config.js
29 lines
module.exports = {
apps: [{
name: 'fentucci-website',
script: 'server.js',
cwd: '/root/Projects/Designer-Wallcoverings/DW-Websites/Fentucci',
env: {
PORT: 9880,
BIND: '127.0.0.1',
MAIL_TO: 'info@fentucci.com',
MAIL_CC: 'info@designerwallcoverings.com',
NODE_ENV: 'production'
},
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '512M',
error_file: './logs/err.log',
out_file: './logs/out.log',
log_file: './logs/combined.log',
time: true,
max_restarts: Infinity,
min_uptime: '5s',
restart_delay: 1000,
exp_backoff_restart_delay: 100,
cron_restart: '0 4 * * *',
kill_timeout: 5000
}]
};