update listen ports

This commit is contained in:
SrGooglo 2023-06-02 20:09:29 +00:00
parent 73da40932b
commit 49c4e0016b

View File

@ -7,9 +7,32 @@ module.exports = {
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
"MAIN_LISTEN_PORT": 5000,
},
cwd: "./packages/server"
},
{
name: "chat_api",
script: "./dist/index.js",
instances: "max",
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5001,
},
cwd: "./packages/chat_server"
},
{
name: "marketplace_api",
script: "./dist/index.js",
instances: "max",
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5002,
},
cwd: "./packages/marketplace_server"
},
{
name: "music_api",
script: "./dist/index.js",
@ -17,6 +40,7 @@ module.exports = {
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5003,
},
cwd: "./packages/music_server"
},
@ -27,28 +51,9 @@ module.exports = {
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5004,
},
cwd: "./packages/file_server"
},
{
name: "marketplace_api",
script: "./dist/index.js",
instances: "max",
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
},
cwd: "./packages/marketplace_server"
},
{
name: "chat_api",
script: "./dist/index.js",
instances: "max",
exec_mode: "cluster",
env: {
"NODE_ENV": "production",
},
cwd: "./packages/chat_server"
}
],
}