fix: 迁移读取根 .env + 部署脚本本地直跑 + 健康检查读 PORT #66
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/datasource-root-env"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
改动
apps/server/datasource.ts:迁移 CLI 优先读取仓库根目录.env(再回退 apps/server/.env),生产只需维护根目录一份 .env,不再出现 root 空密码报错deploy.sh:新增本地直跑模式(./deploy.sh或./deploy.sh local),无需 SSH/key;传 ssh_host 才走远程版.gitea/workflows/deploy.yml:健康检查从 .env 读取 PORT(默认 3000),适配自定义端口验证