added ecosystem config for pm2
This commit is contained in:
parent
2d2aea83a1
commit
be5e33336d
11
ecosystem.config.js
Normal file
11
ecosystem.config.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
module.exports = {
|
||||||
|
apps: [
|
||||||
|
{
|
||||||
|
name: 'My Website',
|
||||||
|
exec_mode: 'cluster',
|
||||||
|
instances: 'max', // Or a number of instances
|
||||||
|
script: './node_modules/nuxt/bin/nuxt.js',
|
||||||
|
args: 'start'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user