mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
added pm2 ecosystem file
This commit is contained in:
parent
285424ae63
commit
330525b3f7
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