disable temporaly cluster mode

This commit is contained in:
SrGooglo 2023-07-08 13:48:31 +00:00
parent 1b2a959323
commit 21bb7310cf

View File

@ -3,8 +3,8 @@ module.exports = {
{ {
name: "main_api", name: "main_api",
script: "./dist/index.js", script: "./dist/index.js",
instances: "max", // instances: "max",
exec_mode: "cluster", // exec_mode: "cluster",
env: { env: {
"NODE_ENV": "production", "NODE_ENV": "production",
"MAIN_LISTEN_PORT": 5000, "MAIN_LISTEN_PORT": 5000,
@ -14,8 +14,8 @@ module.exports = {
{ {
name: "chat_api", name: "chat_api",
script: "./dist/index.js", script: "./dist/index.js",
instances: "max", // instances: "max",
exec_mode: "cluster", // exec_mode: "cluster",
env: { env: {
"NODE_ENV": "production", "NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5001, "HTTP_LISTEN_PORT": 5001,
@ -25,8 +25,8 @@ module.exports = {
{ {
name: "marketplace_api", name: "marketplace_api",
script: "./dist/index.js", script: "./dist/index.js",
instances: "max", // instances: "max",
exec_mode: "cluster", // exec_mode: "cluster",
env: { env: {
"NODE_ENV": "production", "NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5002, "HTTP_LISTEN_PORT": 5002,
@ -36,8 +36,8 @@ module.exports = {
{ {
name: "music_api", name: "music_api",
script: "./dist/index.js", script: "./dist/index.js",
instances: "max", // instances: "max",
exec_mode: "cluster", // exec_mode: "cluster",
env: { env: {
"NODE_ENV": "production", "NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5003, "HTTP_LISTEN_PORT": 5003,
@ -47,8 +47,8 @@ module.exports = {
{ {
name: "file_api", name: "file_api",
script: "./dist/index.js", script: "./dist/index.js",
instances: "max", // instances: "max",
exec_mode: "cluster", // exec_mode: "cluster",
env: { env: {
"NODE_ENV": "production", "NODE_ENV": "production",
"HTTP_LISTEN_PORT": 5004, "HTTP_LISTEN_PORT": 5004,