From 454cf252ac994e330436aa22fef8526145fa0acd Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 13 Jul 2023 19:20:52 +0000 Subject: [PATCH] use node_args --- ecosystem.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ecosystem.config.js b/ecosystem.config.js index 9028fc5f..1bbc59a9 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -10,6 +10,7 @@ module.exports = { "MAIN_LISTEN_PORT": 5000, "LOG_REQUESTS": true, }, + node_args: "-r dotenv/config", cwd: "./packages/server" }, { @@ -21,6 +22,7 @@ module.exports = { "NODE_ENV": "production", "HTTP_LISTEN_PORT": 5001, }, + node_args: "-r dotenv/config", cwd: "./packages/chat_server" }, { @@ -32,6 +34,7 @@ module.exports = { "NODE_ENV": "production", "HTTP_LISTEN_PORT": 5002, }, + node_args: "-r dotenv/config", cwd: "./packages/marketplace_server" }, { @@ -43,6 +46,7 @@ module.exports = { "NODE_ENV": "production", "HTTP_LISTEN_PORT": 5003, }, + node_args: "-r dotenv/config", cwd: "./packages/music_server" }, { @@ -54,6 +58,7 @@ module.exports = { "NODE_ENV": "production", "HTTP_LISTEN_PORT": 5004, }, + node_args: "-r dotenv/config", cwd: "./packages/file_server" }, ],