chore: ecosystem.config.js 수정 - script 원복 및 env 지정
This commit is contained in:
parent
42561b64ab
commit
dece53e698
@ -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',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user