module.exports = { apps : [{ name: 'AutoCat API', script: 'index.js', // Options reference: https://pm2.keymetrics.io/docs/usage/application-declaration/ node_args: '--async-stack-traces --trace-warnings', instances: 1, autorestart: true, watch: false, max_memory_restart: '1G', log_date_format: 'YYYY-MM-DD HH:mm:ss', env: { NODE_ENV: 'development' }, env_production: { NODE_ENV: 'production' } }] };