Commit Graph

6 Commits

Author SHA1 Message Date
fdf524a172 feat: 更新健康检查脚本和依赖
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Has been cancelled
- 将健康检查命令从`/photography-api --health-check`更新为使用新的脚本`/usr/local/bin/health-check.sh`
- 在Dockerfile中添加`wget`作为运行时依赖
- 确保健康检查脚本具有执行权限

此更改提升了健康检查的可靠性和灵活性。
2025-07-16 15:02:27 +08:00
25a60c48c9 feat: 更新Docker Compose配置,添加网络支持
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 7m13s
- 在backend的docker-compose.prod.yml和docker-compose.yml中新增app_network网络配置
- 将服务配置中的网络字段添加至相应服务
- 确保数据卷配置保持不变

此更新为服务间的网络通信提供了支持。
2025-07-16 13:44:15 +08:00
052a91feb8 fix
Some checks failed
部署后端服务 / 🚀 构建并部署后端 (push) Failing after 11s
2025-07-15 15:49:16 +08:00
c10abdab19 fix
Some checks failed
部署后端服务 / 🚀 构建并部署后端 (push) Has been cancelled
2025-07-15 15:46:17 +08:00
4bb20e5882 fix bug
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 2m25s
部署后端服务 / 🔄 回滚部署 (push) Failing after 2s
2025-07-15 14:42:31 +08:00
b35ee56848 feat: 优化后端CI/CD配置,使用生产环境PostgreSQL凭据
Some checks failed
部署后端服务 / 🚀 构建并部署 (push) Failing after 41s
部署前端网站 / 🧪 测试和构建 (push) Successful in 2m58s
部署后端服务 / 🔄 回滚部署 (push) Failing after 2s
部署前端网站 / 🚀 部署到生产环境 (push) Failing after 4m13s
- 添加生产环境docker-compose.prod.yml,移除PostgreSQL和Redis容器
- 更新CI/CD工作流使用secrets.POSTGRES_PHOTO_USER和secrets.POSTGRES_PHOTO_PWD
- 修复服务名称从backend改为api以匹配配置
- 自动创建生产环境.env文件并注入正确的数据库凭据

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 18:08:52 +08:00