module.exports = {
  apps: [
    {
      name: 'blv-oa-exam-backend',
      script: 'dist/api/server.js',
      cwd: 'R:/nodejsROOT/oa_exam/server',
      interpreter: 'node',
      node_args: '--enable-source-maps',
      env: {
        NODE_ENV: 'production',
        PORT: '10012',
        DB_PATH: 'R:/nodejsROOT/oa_exam/db/survey.db',
      },
      time: true,
      autorestart: true,
      max_restarts: 10,
      restart_delay: 3000,
    },
  ],
};
