diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..24b9c26 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,17 @@ +module.exports = { + apps: [ + { + name: 'hope-events-backend', + cwd: __dirname + '/backend', + script: 'src/index.js', + env: { NODE_ENV: 'production' }, + }, + { + name: 'hope-events-frontend', + cwd: __dirname + '/frontend', + script: 'npm', + args: 'start -- -p 3001', + env: { NODE_ENV: 'production' }, + }, + ], +};