module.exports = { apps: [ { name: 'mememind-server', script: 'dist/main.js', instances: 2, exec_mode: 'cluster', autorestart: true, watch: false, max_memory_restart: '1G', env: { NODE_ENV: 'production', PORT: 3000, }, env_production: { NODE_ENV: 'production', PORT: 3000, }, error_file: './logs/error.log', out_file: './logs/out.log', log_file: './logs/combined.log', time: true, merge_logs: true, log_date_format: 'YYYY-MM-DD HH:mm:ss Z', }, ], };