[全量] 初始化项目代码、配置、文档及Agent协同harness

This commit is contained in:
2026-04-02 11:36:05 +08:00
parent 0553309cdf
commit 87e571d9ec
1133 changed files with 221948 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
// PM2 配置文件
module.exports = {
apps: [
{
name: 'chat-web-front',
script: 'npm',
args: 'run dev',
cwd: '/home/gc/gangyan/chat_web_front',
interpreter: 'none',
env: {
NODE_ENV: 'development',
},
// 日志配置
error_file: './logs/pm2-error.log',
out_file: './logs/pm2-out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
// 自动重启
autorestart: true,
watch: false,
max_memory_restart: '1G',
// 实例数
instances: 1,
exec_mode: 'fork',
},
],
};