Initial commit apps directory with .gitignore
This commit is contained in:
29
e-proposal-komite/ecosystem.config.js
Normal file
29
e-proposal-komite/ecosystem.config.js
Normal file
@@ -0,0 +1,29 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'e-proposal-komite-api',
|
||||
cwd: './server',
|
||||
script: 'src/index.js',
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '500M',
|
||||
env: {
|
||||
NODE_ENV: 'production'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'e-proposal-komite-web',
|
||||
cwd: './',
|
||||
script: 'server.js',
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '200M',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3008
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user