added ecosystem config for pm2

This commit is contained in:
ngn13 2023-05-27 21:59:35 +03:00 committed by GitHub
parent 2d2aea83a1
commit be5e33336d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
ecosystem.config.js Normal file
View 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'
}
]
}