feat: 添加环境变量管理工具和部署配置改版
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 5m33s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 5m33s
主要改动: - 新增交互式环境配置脚本 (scripts/setup-env.sh) - 新增本地启动快捷脚本 (scripts/run-local.sh) - 新增环境变量模板文件 (.env.example) - 部署模式改版:使用嵌入式配置 + 环境变量覆盖 - 添加对象存储功能支持 - 改进 IoT 卡片导入任务 - 优化 OpenAPI 文档生成 - 删除旧的配置文件,改用嵌入式默认配置
This commit is contained in:
@@ -59,8 +59,7 @@ WORKDIR /app
|
||||
COPY --from=builder /build/api /app/api
|
||||
COPY --from=builder /go/bin/migrate /usr/local/bin/migrate
|
||||
|
||||
# 复制配置文件和迁移文件
|
||||
COPY configs /app/configs
|
||||
# 复制迁移文件(配置已嵌入二进制文件,无需外部配置文件)
|
||||
COPY migrations /app/migrations
|
||||
|
||||
# 复制启动脚本
|
||||
|
||||
Reference in New Issue
Block a user