chore: ecosystem 추가

This commit is contained in:
yoosangwook 2025-03-17 18:25:28 +09:00
parent dcb99eecf8
commit f915dab239
2 changed files with 12 additions and 1 deletions

10
ecosystem.config.js Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
apps: [
{
name: 'qcast-front-production',
script: 'npm run start',
instance: 2,
exec_mode: 'cluster',
},
],
}

View File

@ -5,7 +5,8 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start -p 5000",
"start:cluster1": "next start -p 5000",
"start:cluster2": "next start -p 5001",
"start:dev": "next start -p 5010",
"lint": "next lint",
"serve": "node server.js"