diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs new file mode 100644 index 0000000..4950a51 --- /dev/null +++ b/ecosystem.config.cjs @@ -0,0 +1,15 @@ +module.exports = { + apps: [{ + name: 's22-poll', + script: './server/server.js', + instances: 1, + exec_mode: 'fork', + env: { + NODE_ENV: 'development' + }, + env_production: { + NODE_ENV: 'production', + PORT: 3001 + } + }] +}; \ No newline at end of file