From 5294bf49d80a240c9ce4b95dd521fa4eb14f19ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A5=AD=E5=9B=A2?= Date: Thu, 5 Mar 2026 15:44:46 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=20README.md=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E7=AB=AF=E5=8F=A3=E4=B8=BA=203030?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Docker 端口映射 - Nginx 配置示例 - 环境变量示例 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2410623..1c02196 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ docker build -t qiniu-feishu-bot . # 运行容器 docker run -d \ --name qiniu-bot \ - -p 3000:3000 \ + -p 3030:3030 \ --env-file .env \ -v $(pwd)/config:/app/config \ qiniu-feishu-bot @@ -114,7 +114,7 @@ docker run -d \ ### 🌐 Nginx 反向代理(生产环境推荐) **特点:** -- ✅ 不占用 80/443 端口(Node.js 应用使用 3000 端口) +- ✅ 不占用 80/443 端口(Node.js 应用使用 3030 端口) - ✅ 支持多域名部署(与其他应用共享 Nginx) - ✅ 支持 HTTPS 配置 @@ -138,7 +138,7 @@ server { server_name qiniu.your-domain.com; # 独立域名 location /feishu/event { - proxy_pass http://127.0.0.1:3000/feishu/event; + proxy_pass http://127.0.0.1:3030/feishu/event; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; } @@ -176,7 +176,7 @@ QINIU_REGION=z0 QINIU_DOMAIN=https://your-cdn.com # 服务配置 -PORT=3000 +PORT=3030 NODE_ENV=production ```