From 60449017d8b86156f2e9322337ebdbb3ccf56bdb Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Wed, 28 May 2025 18:48:07 +0900 Subject: [PATCH] Add ecosystem configuration files for production environments with specified PORTs --- prd1.ecosystem.config.js | 13 +++++++++++++ prd2.ecosystem.config.js | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 prd1.ecosystem.config.js create mode 100644 prd2.ecosystem.config.js diff --git a/prd1.ecosystem.config.js b/prd1.ecosystem.config.js new file mode 100644 index 00000000..48174dda --- /dev/null +++ b/prd1.ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'qcast-front-production', + script: 'node_modules/next/dist/bin/next', + instances: 1, + exec_mode: 'fork', + env: { + PORT: 5000, + }, + }, + ], +} diff --git a/prd2.ecosystem.config.js b/prd2.ecosystem.config.js new file mode 100644 index 00000000..e28a89d1 --- /dev/null +++ b/prd2.ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'qcast-front-production', + script: 'node_modules/next/dist/bin/next', + instances: 1, + exec_mode: 'fork', + env: { + PORT: 5001, + }, + }, + ], +}