module.exports = { apps: [{ name: 'your-app-name', script: './src/app.js', instances: 'max', exec_mode: 'cluster', env: { NODE_ENV: 'development', PORT: 3000 }, env_beta: { NODE_ENV: 'staging', PORT: 3001 }, env_production: { NODE_ENV: 'production', PORT: 3000 }, error_file: './logs/err.log', out_file: './logs/out.log', log_file: './logs/combined.log', time: true, max_memory_restart: '1G', restart_delay: 4000, max_restarts: 10, min_uptime: '10s' }] };