refactor: 统一配置文件系统并重构项目设计文档 #120
Reference in New Issue
Block a user
Delete Branch "docs/complete-doc"
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?
- 补全 backend/config.yaml 所有非敏感配置项并添加中文注释 - 重写 config.go:Load(workDir) 显式传参,BindEnv 绑定敏感字段,删除 AutomaticEnv - setDefaults 默认值与 config.yaml 保持一致(mimo/dashscope) - backend/.env.example 重写为纯敏感信息模板 - .env 固定在 /opt/camtalk/.env,docker-compose 通过绝对路径加载 - deploy.sh 统一使用 --env-file,移除硬编码 IP - deploy.yml 删除 CI 写入 .env 的步骤 - Dockerfile 移除 COPY config.yaml - 修复 deploy.yml 中 POSTGRES_PASSWORD 的 &{{ 拼写错误