chore: 部署改为 PM2,服务监听 0.0.0.0
- 新增 ecosystem.config.js(next start -H 0.0.0.0 -p 3100) - package.json start 脚本绑定 0.0.0.0 - DEPLOY.md 重写为 PM2 详细部署,含端口放行/防火墙/Nginx 反代/更新回滚 - .gitignore 忽略 logs/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3100",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3100",
|
||||
"start": "next start -H 0.0.0.0 -p 3100",
|
||||
"lint": "next lint",
|
||||
"prisma:pull": "prisma db pull",
|
||||
"prisma:generate": "prisma generate",
|
||||
|
||||
Reference in New Issue
Block a user