fix:更新端口

This commit is contained in:
Your Name 2026-06-22 16:04:28 +08:00
parent 46129474b4
commit 89ec0abb68
2 changed files with 2 additions and 13 deletions

View File

@ -1,11 +0,0 @@
# 复制为 .env 并按需修改
PORT=3001
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=root
DB_NAME=corp_website
JWT_SECRET=corp_website_secret_key_2026ai
JWT_EXPIRES_IN=7d
UPLOAD_ROOT=./uploads
NODE_ENV=development

View File

@ -42,7 +42,7 @@ jobs:
needs: build-and-push
environment:
name: production
url: http://${{ vars.HOST }}:8084
url: http://${{ vars.HOST }}:80
steps:
- name: Deploy via SSH
uses: https://gitee.com/zsqai/ssh-action@v1.0.3
@ -72,7 +72,7 @@ jobs:
docker run -d \
--name web-01-api \
--restart always \
-p 8084:3003 \
-p 80:3003 \
${{ vars.ALIYUN_REGISTRY }}/${{ vars.ALIYUN_NAMESPACE }}/${{ vars.ALIYUN_REPO }}:latest
# 清理旧镜像