Commit Graph

4 Commits

Author SHA1 Message Date
D8D Developer
9e97c52f76 feat: 应用监听端口改为 80,添加 Spot 实例支持
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 2m28s
- 默认端口从 3000 改为 80
- Dockerfile 更新 EXPOSE 和健康检查端口
- 添加 ECI Spot 抢占式实例注解
- 移除 USER node 以支持监听 80 端口

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-20 13:12:28 +00:00
D8D Developer
e743fc9bcd fix: 使用 dotenv override 确保正确读取 .env 配置
- 添加 override: true 选项覆盖系统环境变量
- 确保 ANTHROPIC_BASE_URL 从项目 .env 文件读取

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-20 12:12:34 +00:00
D8D Developer
ce0b822b63 fix: 添加 Spot 抢占式实例注解和环境变量注入
- 添加 eci-spot-instance 注解启用抢占式实例
- 从 .env 读取 ANTHROPIC_BASE_URL 并注入容器环境变量

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-20 12:08:01 +00:00
D8D Developer
fec235eade feat: 添加 K8S 部署功能
- 新增 src/k8s-client.ts: K8S 客户端封装
- 新增 src/deploy.ts: 部署/删除/状态查询逻辑
- 新增 scripts/deploy.ts: 命令行部署工具
- 更新 .env.example: 添加 K8S 配置项
- 安装 @kubernetes/client-node@1.3.0 依赖

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-20 10:19:37 +00:00