← Назадmodule.exports = {
apps: [{
name: 'dashboard-backend',
script: 'index.js',
cwd: '/home/app/dashboard/backend',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '200M',
env: {
NODE_ENV: 'production',
PORT: 3000
},
log_file: '/home/app/dashboard/logs/backend.log',
error_file: '/home/app/dashboard/logs/backend-error.log',
out_file: '/home/app/dashboard/logs/backend-out.log',
time: true
}]
};