diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..5ed647c --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,21 @@ +module.exports = { + apps: [ + { + name: 'assembly', + exec_mode: 'cluster', + instances: 'max', + script: './node_modules/nuxt/bin/nuxt.js', + args: 'start', + env: { + NODE_ENV: 'production', + HOST: 'localhost', + PORT: 4000, + }, + env_production: { + NODE_ENV: 'production', + PORT: '4000', + HOST: 'localhost' + }, + }, + ], +}