feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
16
api.hyungi.net/ecosystem.config.js
Normal file
16
api.hyungi.net/ecosystem.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'hyungi-api',
|
||||
script: './index.js',
|
||||
env: {
|
||||
NODE_ENV: 'development'
|
||||
},
|
||||
env_production: {
|
||||
NODE_ENV: 'production'
|
||||
},
|
||||
// 메모리 200MB 이상일 때 자동 재시작
|
||||
max_memory_restart: '200M'
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user