Skip to content

Commit

Permalink
build: add pm2 cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 5, 2024
1 parent 0f8238a commit 8745656
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ecosystem.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
apps: [
{
name: 'NuxtAppName',
port: '5000',
exec_mode: 'cluster',
instances: 'max',
script: './.output/server/index.mjs'
}
]
}

0 comments on commit 8745656

Please sign in to comment.