refactor: config store stateless
This commit is contained in:
16
pm2.dev.config.js
Normal file
16
pm2.dev.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'mx-server',
|
||||
script: 'dist/src/main.js',
|
||||
autorestart: true,
|
||||
exec_mode: 'cluster',
|
||||
watch: false,
|
||||
instances: 2,
|
||||
max_memory_restart: '230M',
|
||||
env: {
|
||||
NODE_ENV: 'development',
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user