Skip to content

Commit 5268c7d

Browse files
authored
Create ecosystem.config.js
update to run pm2 in docker
1 parent 15d2de4 commit 5268c7d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

ecosystem.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
apps: [
3+
{
4+
name: "dashPanel",
5+
script: "npm",
6+
args: ["start"],
7+
cwd: "/app/nodejs-poolcontroller-dashpanel",
8+
restart_delay: 10000,
9+
watch: ["pages", "scripts", "server", "package.json"],
10+
watch_delay: 5000,
11+
kill_timeout: 15000,
12+
},
13+
],
14+
};

0 commit comments

Comments
 (0)