- add pm2
This commit is contained in:
parent
401329bff1
commit
447cd322b5
12
ecosystem.config.js
Normal file
12
ecosystem.config.js
Normal file
@ -0,0 +1,12 @@
|
||||
module.exports = [
|
||||
{
|
||||
script: "npm",
|
||||
args: "start",
|
||||
name: "web",
|
||||
exec_mode: "cluster",
|
||||
instances: "1",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
},
|
||||
},
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user