更新技术实施方案和PRD文档版本历史
This commit is contained in:
17
backend/ecosystem.config.js
Normal file
17
backend/ecosystem.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
module.exports = {
|
||||
apps: [{
|
||||
name: 'niumall-backend',
|
||||
script: 'app.js',
|
||||
cwd: '/data/nodejs/yunniushi/',
|
||||
instances: 'max',
|
||||
exec_mode: 'cluster',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 4330
|
||||
},
|
||||
error_file: '/data/nodejs/yunniushi/logs/backend-error.log',
|
||||
out_file: '/data/nodejs/yunniushi/logs/backend-out.log',
|
||||
log_file: '/data/nodejs/yunniushi/logs/backend.log',
|
||||
time: true
|
||||
}]
|
||||
}
|
||||
Reference in New Issue
Block a user