Update code

This commit is contained in:
User
2026-03-12 12:47:56 +08:00
parent 92e7fc5bda
commit 9dab61345c
9383 changed files with 1463454 additions and 1 deletions

23
test2/ecosystem.config.js Normal file
View File

@@ -0,0 +1,23 @@
// PM2 进程管理配置
// 使用方式: pm2 start ecosystem.config.js
module.exports = {
apps: [
{
name: 'bigwo-server',
cwd: '/www/wwwroot/demo.tensorgrove.com.cn/server',
script: 'app.js',
instances: 1,
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '512M',
env: {
NODE_ENV: 'production',
},
error_file: '/var/log/bigwo/server-error.log',
out_file: '/var/log/bigwo/server-out.log',
merge_logs: true,
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
},
],
};