some pm2 stuff

This commit is contained in:
Kasper Rynning-Tønnesen
2020-02-21 16:23:27 +01:00
parent d3691ebdab
commit 9835292738
3 changed files with 1219 additions and 3 deletions

12
pm2.json Normal file
View File

@@ -0,0 +1,12 @@
{
"apps": [
{
"name": "vinlottis",
"script": "./server.js",
"watch": true,
"instances": "max",
"exec_mode": "cluster",
"ignore_watch": ["./node_modules", "./public/assets/"]
}
]
}