module.exports = { apps: [ { name: 'xiaocai-server', script: './dist/index.js', instances: 1, autorestart: true, watch: false, max_memory_restart: '300M', env: { NODE_ENV: 'production', PORT: 3000 }, error_file: '/var/log/xiaocai/error.log', out_file: '/var/log/xiaocai/out.log', log_date_format: 'YYYY-MM-DD HH:mm:ss' } ] }