chore: ecosystem.config.js 수정 - script 원복 및 env 지정

This commit is contained in:
Daseul Kim 2025-06-30 10:22:59 +09:00
parent 42561b64ab
commit dece53e698

View File

@ -2,12 +2,13 @@ module.exports = {
apps: [ apps: [
{ {
name: 'on-site-survey', name: 'on-site-survey',
// script: 'node_modules/next/dist/bin/next', script: 'node_modules/next/dist/bin/next',
script: 'npm.cmd',
args: 'start',
cwd: 'C:\\interplug\\onsitesurvey',
instances: 2, instances: 2,
exec_mode: 'cluster', exec_mode: 'cluster',
env_file: '.env.production',
env: {
NODE_ENV: 'production',
},
}, },
], ],
} }