diff --git a/ecosystem.config.js b/ecosystem.config.js index a79cb57..303d746 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -3,8 +3,13 @@ module.exports = { { name: 'on-site-survey', script: 'node_modules/next/dist/bin/next', + args: 'start', instances: 2, exec_mode: 'cluster', + env_file: '.env.production', + env: { + NODE_ENV: 'production', + }, }, ], }