forked from boostcampwm-2024/web36-QLab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
2,749 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
module.exports = { | ||
apps: [ | ||
{ | ||
name: 'nest-server', | ||
script: 'dist/main.js', // NestJS 서버의 진입 파일 | ||
instances: 'max', // 클러스터 모드: CPU 코어 수만큼 프로세스 실행 | ||
exec_mode: 'cluster', // 클러스터 모드 | ||
watch: true, // 파일 변경 감지 후 재시작 | ||
env: { | ||
NODE_ENV: 'development', | ||
}, | ||
env_production: { | ||
NODE_ENV: 'production', | ||
}, | ||
apps: [ | ||
{ | ||
name: 'nest-server', | ||
script: 'dist/main.js', // NestJS 서버의 진입 파일 | ||
instances: 'max', // 클러스터 모드: CPU 코어 수만큼 프로세스 실행 | ||
exec_mode: 'cluster', // 클러스터 모드 | ||
watch: false, // 파일 변경 감지 후 재시작 | ||
env: { | ||
NODE_ENV: 'development', | ||
}, | ||
], | ||
}; | ||
|
||
env_production: { | ||
NODE_ENV: 'production', | ||
}, | ||
}, | ||
], | ||
}; |
Oops, something went wrong.