mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
added pm2 ecosystem file
This commit is contained in:
parent
4a4d79a54a
commit
2ab040bf07
34
ecosystem.config.js
Normal file
34
ecosystem.config.js
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
module.exports = {
|
||||||
|
apps: [
|
||||||
|
{
|
||||||
|
name: "main_api",
|
||||||
|
script: "./packages/server/dist/index.js",
|
||||||
|
instances: "max",
|
||||||
|
exec_mode: "cluster"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "music_api",
|
||||||
|
script: "./packages/music_server/dist/index.js",
|
||||||
|
instances: "max",
|
||||||
|
exec_mode: "cluster"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "file_api",
|
||||||
|
script: "./packages/file_server/dist/index.js",
|
||||||
|
instances: "max",
|
||||||
|
exec_mode: "cluster"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "marketplace_api",
|
||||||
|
script: "./packages/marketplace_server/dist/index.js",
|
||||||
|
instances: "max",
|
||||||
|
exec_mode: "cluster"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "chat_api",
|
||||||
|
script: "./packages/chat_server/dist/index.js",
|
||||||
|
instances: "max",
|
||||||
|
exec_mode: "cluster"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user