Skip to content

Commit

Permalink
feat: 增加PM2配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryFan626 committed Mar 18, 2024
1 parent c49566d commit fb5fe1f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
apps: [{
name: 'Chat2DB 文档', // 应用名称
script: 'npm', // 运行脚本
args: 'build', // 传递给脚本的参数
env: {
NODE_ENV: 'production', // 环境变量
PORT: 3099, // 你希望 Next.js 运行在哪个端口上
},
}],
};

0 comments on commit fb5fe1f

Please sign in to comment.