generated from fahricansecer/boilerplate-be
Initial commit
This commit is contained in:
21
ecosystem.config.js
Normal file
21
ecosystem.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
module.exports = {
|
||||
apps: [{
|
||||
name: 'skriptai-backend',
|
||||
script: 'dist/main.js',
|
||||
instances: 1,
|
||||
exec_mode: 'cluster',
|
||||
env_production: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3000
|
||||
}
|
||||
}, {
|
||||
name: 'skriptai-frontend',
|
||||
script: 'npm',
|
||||
args: 'start -- -p 3001',
|
||||
cwd: '/home/haruncan/apps/skriptai/frontend',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3001
|
||||
}
|
||||
}]
|
||||
};
|
||||
Reference in New Issue
Block a user