chore: ecosystem 추가
This commit is contained in:
parent
dcb99eecf8
commit
f915dab239
10
ecosystem.config.js
Normal file
10
ecosystem.config.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
module.exports = {
|
||||||
|
apps: [
|
||||||
|
{
|
||||||
|
name: 'qcast-front-production',
|
||||||
|
script: 'npm run start',
|
||||||
|
instance: 2,
|
||||||
|
exec_mode: 'cluster',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@ -5,7 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"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",
|
"start:dev": "next start -p 5010",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"serve": "node server.js"
|
"serve": "node server.js"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user