build: 将前后端端口迁移至 7380/7381
固定前端端口为 7380、后端端口为 7381,避开 3000/5173/8080 等常见开发端口,防止与同机其它工程互占。 - 更新根目录、backend、web 的 .env.example 与 README、Makefile 说明 - 同步 vite.config.ts、web/package.json、desktop/main.cjs 默认地址 - 同步 backend config.go 默认端口常量、Dockerfile 与 docker-compose 健康检查 - 同步 deploy/nginx.conf 监听与反代、Dockerfile.web 端口 - 后端新增 godotenv 加载 backend/.env,真实环境变量优先 - AGENTS.md 补充端口约定与按 PID 清理进程的强制规范 - 新增 preflight 脚本并在 pnpm dev 前执行
This commit is contained in:
1 parent
943c0a0e5a
commit
ae6cdf1551
19 files changed
+149
-35
No files matched your search
@@ -9,6 +9,7 @@ require (
|
||||
github.com/gin-gonic/gin v1.12.0
|
||||
github.com/glebarez/sqlite v1.11.0
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/joho/godotenv v1.5.1
|
||||
gorm.io/driver/postgres v1.6.3
|
||||
gorm.io/gorm v1.31.2
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user