module.exports = {
  apps: [
    {
      name: 'aitoearn-user-server',
      script: 'dist/main.js',
      args: '-c config/dev.config.js',
      instances: '1',
      exec_mode: 'cluster',
      env: {
        NODE_ENV: 'development',
      },
      env_production: {
        NODE_ENV: 'production',
      },
      log_date_format: 'YYYY-MM-DD_HH:mm Z',
      merge_logs: true,
    },
  ],
}
