Add PM2 ecosystem config for production deployment

This commit is contained in:
2026-08-26 11:59:08 +02:00
parent 305499ee91
commit 2dfe8d32c4
+17
View File
@@ -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' },
},
],
};