Skip to content
Snippets Groups Projects
Commit 75f61394 authored by Embruch, Gerd's avatar Embruch, Gerd
Browse files

enabled pm2 cluster

parent 6a9204b0
Branches
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ module.exports = { ...@@ -5,6 +5,8 @@ module.exports = {
cwd: "/home/embruch/ragchat-api", cwd: "/home/embruch/ragchat-api",
node_args: "--env-file=./.env", node_args: "--env-file=./.env",
watch: true, watch: true,
instances: "4",
exec_mode: "cluster",
ignore_watch: ["./node_modules", "./RAGFiles", "./.git", "./coverage", "./logs", "./__tests__"], ignore_watch: ["./node_modules", "./RAGFiles", "./.git", "./coverage", "./logs", "./__tests__"],
error_file: 'logs/error.log', error_file: 'logs/error.log',
out_file: 'logs/output.log' out_file: 'logs/output.log'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment