gao
012d06cf49
Merge pull request 'fix(gitea): 备份失败后按小时补跑' ( #3 ) from codex/gitea-reliability-1-retry into master
2026-09-26 07:58:33 +08:00
bruno
d8bb18a091
fix(gitea): 保留跨日备份并恢复中断服务
gitea-ci / reliability-source Run 3142 checked the exact source HEAD and passed operations tests
2026-09-26 07:53:38 +08:00
bruno
80480b7ce2
fix(gitea): 备份失败后按小时补跑
2026-09-26 07:50:00 +08:00
gao
917501939b
Merge pull request 'fix(gitea): 可靠备份恢复、隔离 CI 与受控升级' ( #2 ) from codex/gitea-reliability-1 into master
2026-09-25 23:12:46 +08:00
bruno
b6e8204ea0
docs(gitea): 记录恢复演练与升级回执
...
gitea-ci / reliability-source Gitea pilot run 3137 verified this exact source HEAD (26 pass, Docker-only test skipped)
Agent: codex
2026-09-25 23:02:42 +08:00
bruno
9b15030f2b
fix(gitea): 修复外置备份恢复与受控升级
...
Agent: codex
Refs: gao/macos-tools#1
2026-09-25 22:59:35 +08:00
bruno
6d01e82da2
fix cloudflared transport behind proxy
2026-09-04 09:45:25 +08:00
bruno
7fcb3723e7
feat(harbor): add OrbStack Docker Hub mirror runbook
2026-05-05 06:42:20 +08:00
bruno
2204d61ada
fix(cloudflared): route public k3s traffic to 30443
2026-03-15 08:58:16 +08:00
bruno
776f248bd5
fix(platform): stabilize k3s nodeport bridge
2026-03-09 22:43:15 +08:00
bruno
6ef1333be7
docs(platform): add omniverseai.net baseline
2026-03-09 20:35:14 +08:00
bruno
6b9dcf01fa
docs: 添加 Harbor 外网访问配置完整总结
2026-02-27 13:50:30 +08:00
bruno
b367870923
fix: 修复 Harbor 外网访问配置
...
- 更新 harbor.yml 端口配置(8080/8443)
- 更新 external_url 包含端口号 :8443
- 更新 SSL 配置脚本邮箱地址
修复问题:
- Docker login 时 token service URL 缺少端口号导致超时
- 需要手动修改 common/config/core/env 中的 EXT_ENDPOINT
解决方案:
- 在 harbor.yml 中设置 external_url: https://harbor.omniverseai.net:8443
- 重启 Harbor 后会自动生成正确的 EXT_ENDPOINT
测试通过:
- ✅ docker login harbor.omniverseai.net:8443 成功
- ✅ Let's Encrypt 证书正常工作
- ✅ 外网可以正常访问和推送镜像
2026-02-27 13:45:36 +08:00
bruno
bc5f7b70c9
docs: 添加 SSL 配置快速总结
2026-02-27 12:59:05 +08:00
bruno
5ce8a8df83
feat: 添加 Harbor Let's Encrypt SSL 证书配置(DNS only 模式)
...
- 添加 Let's Encrypt 自动配置脚本(DNS-01 验证)
- 添加完整配置指南(DNS only 模式)
- 添加快速配置总结文档
- 配置自动续期(每月 1 号和 15 号)
适用场景:
- harbor.omniverseai.net 使用 DNS only 模式
- 避免 Cloudflare 文件大小限制
- 使用 Cloudflare DNS API 进行 DNS-01 验证
2026-02-27 12:58:58 +08:00
bruno
daba921b89
docs: 添加 Harbor 快速参考卡片
2026-02-27 08:14:50 +08:00
bruno
435834dc79
feat: Harbor 版本化配置
...
- 添加 Harbor 快速恢复脚本 (harbor-quick-restore.sh)
- 添加完整恢复指南 (HARBOR-RESTORE-GUIDE.md)
- 添加版本信息文件 (VERSION.md)
- 更新 .gitignore 排除敏感数据
- 配置 harbor git remote
- 修复 Cloudflare Tunnel 配置
系统重装后可通过以下命令快速恢复:
git clone http://192.168.1.83:33000/gao/ljwx-harbor.git
cd ljwx-harbor
./harbor-quick-restore.sh
2026-02-27 08:12:30 +08:00
bruno
ef042602c4
push to gitea
2025-12-24 13:42:39 +08:00
bruno
c815ea0268
feat: 添加 MySQL 数据库监控完整解决方案
...
新增功能:
- MySQL 8.0 StatefulSet 部署 (infra namespace)
- MySQL Exporter v0.15.1 独立部署 (monitoring namespace)
- Prometheus ServiceMonitor 自动服务发现
- Grafana Dashboard (MySQL Database Monitoring)
- 完整的验证和导入脚本
部署的组件:
- MySQL 8.0 (3306, NodePort: 32306)
- MySQL Exporter v0.15.1 (9104)
- Grafana Dashboard (UID: mysql-monitoring)
监控指标:
- MySQL 运行状态和连接数
- 查询性能(QPS、慢查询)
- InnoDB 缓冲池使用情况和命中率
- 命令操作统计(SELECT/INSERT/UPDATE/DELETE)
- 网络流量、表锁、行操作统计
- 错误和临时对象统计
配置文件:
- infra/observability/mysql-exporter.yaml
- infra/observability/mysql-secret-example.yaml
- infra/database/monitoring/grafana-mysql-dashboard.yaml
- infra/database/monitoring/MYSQL-MONITORING-README.md
- MYSQL-DASHBOARD-ACCESS.md
- verify-mysql-monitoring.sh
- import-mysql-dashboard.sh
更新文档:
- README.md: 添加数据库监控章节
- 新增 infra namespace 组件说明
- 更新 Grafana 仪表盘推荐列表
- 更新文件清单和快速链接
验证状态:
✓ MySQL Pod 运行正常
✓ MySQL Exporter Pod 运行正常
✓ ServiceMonitor 已创建
✓ 所有关键指标可用 (mysql_up=1)
✓ Grafana Dashboard 已导入并修复
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <[email protected] >
2025-12-24 13:32:11 +08:00
bruno and Claude Sonnet 4.5
1fdf75df00
feat: 添加 Kubernetes infra 数据库部署和 Grafana 监控
...
- 部署 PostgreSQL, Redis, MinIO 到 infra 命名空间
- 配置 PostgreSQL 自动备份到 MinIO S3 (CronJob)
- 添加网络代理支持 (HTTP_PROXY) 解决备份下载问题
- 部署 Grafana Dashboard 监控数据库备份任务
- 修复 Dashboard Datasource UID 配置问题 (PBFA97CFB590B2093)
主要组件:
- MinIO: S3 对象存储 (50Gi)
- Redis: 内存数据库 (8Gi, Bitnami chart)
- PostgreSQL: 关系型数据库 (20Gi, Bitnami chart)
- 自动备份: CronJob 每日 03:00 UTC
- Grafana: 5个监控面板 (Jobs Overview, CronJobs, Failed Backups, Status, Activity)
部署脚本:
- deploy-infra-databases.sh: 一键部署所有组件
- verify-infra-databases.sh: 验证部署状态
- monitoring/import-dashboard.sh: 导入 Grafana Dashboard
文档:
- README.md: 完整部署和运维指南
- DEPLOYMENT-PLAN.md: 技术方案
- monitoring/DASHBOARD-DIAGNOSIS.md: Dashboard 故障排查
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <[email protected] >
2025-12-22 22:48:29 +08:00
bruno and Claude Sonnet 4.5
6b9f741db4
feat: 添加国内镜像加速配置工具集
...
新增功能:
- 一键配置脚本(setup-china-mirrors.sh)
- 清理7890代理配置
- 配置Pip使用中科大镜像
- 配置NPM使用阿里云镜像
- 配置Maven使用阿里云镜像
- 配置Docker使用Harbor镜像代理
- 配置恢复脚本(restore-configs.sh)
- 从备份恢复原始配置
- 自动查找最新备份文件
- 恢复前再次备份当前配置
- 配置验证脚本(verify-config.sh)
- 验证所有镜像源配置
- 测试网络连通性
- 生成测试报告
- Makefile 简化操作
- make setup: 配置镜像源
- make verify: 验证配置
- make restore: 恢复配置
- make status: 查看状态
- 完整文档
- README.md: 详细使用文档
- QUICKSTART.md: 快速开始指南
- .gitignore: 忽略备份文件
支持环境:
- macOS 系统
- OrbStack / Docker Desktop
- Python (pip)
- Node.js (npm)
- Java (maven)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <[email protected] >
2025-12-19 10:18:44 +08:00
bruno and Claude
4cf1cdee25
feat: 完善 Harbor 镜像预热和 Registry Mirrors 配置
...
## 新增功能
### 1. 生产级镜像预热脚本
- **preheat-images-pro.sh**: 修复所有旧版问题的生产级预热脚本
- 基于退出码判断成功(不再依赖 grep 输出)
- 自动重试机制(最多3次,间隔递增)
- 修正所有镜像路径(使用正确的项目名)
- 使用 Robot 账号(移除硬编码密码)
- 移除 ELK 镜像(使用 Loki 替代)
- 超时保护(每个镜像最长5分钟)
- 详细错误报告(JSON 格式输出)
- **PREHEAT-GUIDE.md**: 完整的镜像预热使用指南
- 分组预热支持(k8s/monitoring/loki/tempo/otel/database/base)
- 性能对比和最佳实践
- 常见问题排查
### 2. Registry Mirrors 配置
- **configure-containerd-mirrors.sh**: 配置 OrbStack containerd 使用 Harbor 作为多 registry 的 mirror
- 支持 docker.io、registry.k8s.io、quay.io、ghcr.io
- 自动创建 hosts.toml 配置文件
- K8s YAML 可使用标准路径,自动通过 Harbor 拉取
- **REGISTRY-MIRRORS-SUCCESS.md**: 配置成功验证和使用说明
- 性能提升验证(3.3倍加速)
- 工作原理说明
- 维护指南
## 测试结果
- 预热 23 个核心镜像(K8s + 监控 + 日志)成功率 100%
- Registry mirrors 配置后,标准路径拉取速度提升 3.3 倍
- 所有配置文件已移除硬编码密码,使用环境变量
## 相关文件
- preheat-images-pro.sh(主脚本)
- preheat-images-v2.sh(中间版本)
- PREHEAT-GUIDE.md(使用指南)
- configure-containerd-mirrors.sh(Registry mirrors 配置)
- REGISTRY-MIRRORS-SUCCESS.md(配置验证)
- preheat-report-20251213-122836.json(预热报告)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-12-13 13:06:12 +08:00
bruno and Claude
3e9128a4d7
feat: Add Harbor proxy cache documentation and configuration tools
...
## Summary
- Add comprehensive proxy cache usage guide emphasizing correct patterns
- Create automated setup scripts for Docker/Containerd configuration
- Generate K8s containerd configuration for transparent proxy
- Add image preheating and synchronization tools
- Provide client configuration scripts for Docker and Kubernetes
## Documentation
- HARBOR-PROXY-CACHE-GUIDE.md: Correct usage patterns (pull directly from Harbor, not manual push)
- HARBOR-PROXY-SUMMARY.md: Quick reference with path conversion rules and performance metrics
- K8S-HARBOR-CONFIG.md: Kubernetes-specific Harbor configuration guide
- harbor-image-usage.md: Practical image usage examples
## Configuration Tools
- setup-harbor-proxy.sh: Interactive configuration tool for Docker/Containerd
- configure-docker-client.sh: Docker daemon.json setup script
- configure-k8s-harbor.sh: Kubernetes Harbor integration script
- containerd-harbor-config.toml: Ready-to-use containerd config for K8s/K3s nodes
## Image Management
- sync-common-images.sh: Batch sync common Docker images (fixed for loop syntax)
- preheat-images.sh: Pre-cache frequently used images to Harbor
## Key Features
- Proxy Cache Projects: dockerhub, ghcr, quay, k8s-registry
- Transparent proxy support via registry-mirrors
- 7-10x performance improvement on cached pulls
- Self-signed certificate support with insecure_skip_verify
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-12-13 08:27:32 +08:00
bruno and Claude
a9e1d4309c
feat: Configure Harbor with HTTPS support and reset admin credentials
...
## Summary
- Enable HTTPS on port 443 with self-signed SSL certificates
- Reset admin password to admin123 for consistent access
- Configure external_url for proper Docker registry authentication
- Update comprehensive documentation with troubleshooting guide
## Changes
### Configuration
- harbor.yml: Enable HTTPS on port 8443, set external_url to https://harbor.omniverseai.net
- docker-compose.yml: Update port mappings to 80:8080 and 443:8443
- common/config/core/env: Set EXT_ENDPOINT=https://harbor.omniverseai.net
- common/config/nginx/nginx.conf: Enable HTTPS server block with SSL
### Documentation
- README.md: Complete rewrite with HTTPS setup, SSL certificates, troubleshooting
- HARBOR-SETUP-GUIDE.md: Update setup procedures
## SSL Certificate
- Generated self-signed certificate for harbor.omniverseai.net
- Certificate location: /Users/brunogao/certs/harbor.omniverseai.net.pem
- Includes SAN: DNS:harbor.omniverseai.net, IP:192.168.1.83
## Access Information
- Web UI: https://harbor.omniverseai.net (or http://192.168.1.83 )
- Registry: harbor.omniverseai.net (HTTPS on port 443)
- Credentials: admin/admin123
## Testing
- ✅ Docker login successful
- ✅ Image push/pull verified with hello-world image
- ✅ Web UI accessible via HTTPS
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-12-13 00:14:32 +08:00
bruno
6606f067a7
fix: 配置runner支持OrbStack - 添加privileged和docker-cli
2025-11-25 22:11:07 +08:00
bruno
b53969e145
test: 测试修复后的CI/CD - Runner已配置docker-cli和privileged模式
2025-11-25 22:06:14 +08:00
bruno
66c47e0569
Add Harbor setup and configuration scripts
2025-11-21 20:24:04 +08:00
bruno and Claude
b50d09dfb7
feat: 整合 Harbor 代理缓存和镜像管理功能
...
## 新增功能
### 代理缓存管理
- harbor-proxy-cache.sh: Harbor 代理缓存配置和管理脚本
- harbor-docker-config.sh: Docker 客户端配置脚本
- setup-proxy-quick.sh: 快速配置代理缓存
### 镜像配置
- configure-containerd-mirrors.sh: Containerd 镜像加速配置
- configure-k3s-mirrors.sh: K3s 集群镜像配置
- configure-registry-domains.sh: 注册表域名配置
- harbor-image-precache.sh: 镜像预缓存脚本
- harbor-k3s-config.sh: K3s Harbor 集成配置
### 部署工具
- deploy-to-ops.sh: 从代码仓库同步到运行环境的部署脚本
### 文档
- HARBOR_PROXY_CACHE_GUIDE.md: 代理缓存配置指南
- SMART_MIRROR_SETUP.md: 智能镜像加速配置
### 配置
- .gitignore: 排除运行时文件和敏感数据
## 架构优化
建立了清晰的开发-部署分离模式:
- ~/work/codes/tools/macos/harbor - 代码仓库(版本控制)
- ~/ops/harbor - 运行环境(实际部署)
通过 deploy-to-ops.sh 实现一键同步部署
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-18 15:40:08 +08:00
bruno
6ebfb24fd9
fix: Update runner Docker socket configuration and Gitea instance URL
...
- Changed docker-compose.yml to mount OrbStack Docker socket path (/Users/brunogao/.orbstack/run/docker.sock)
- Updated GITEA_INSTANCE_URL to use 192.168.1.83:33000 instead of gitea:3000 for proper DNS resolution
- Both runner-docker and runner-k8s now correctly point to OrbStack Docker daemon
- This resolves the 'Cannot connect to the Docker daemon' error and DNS resolution failures
2025-11-13 17:59:28 +08:00
bruno and Claude
24bd7e93eb
feat: 添加 Gitea Action Runners 配置
...
- 添加两个 Action Runners:
- runner-docker: 用于构建和推送 Docker 镜像
- runner-k8s: 用于 Kubernetes 部署
- 新增文件:
- docker-compose.yml: 更新以包含两个 runners
- runner-k8s-config.yaml: K8s runner 配置
- setup-runners.sh: 自动配置和启动 runners 脚本
关键特性:
✅ 自动注册到 Gitea
✅ Docker-in-Docker 支持
✅ Kubernetes 集群访问(挂载 kubeconfig)
✅ 健康检查和自动重启
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected] >
2025-11-13 11:58:11 +08:00
gao
fb502f0466
Initial commit of claude-code-router files
2025-11-10 21:04:36 +08:00
gao and Claude
003343942a
feat: 添加 qwen-code 作为 Git 子模块
...
- 添加 qwen-code 仓库作为子模块
- 更新 qwen-code 到最新版本
- 完善项目结构
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-04 14:59:22 +08:00
gao and Claude
c1a05a7a2c
feat: 添加 AI Flow 配置和部署脚本
...
## 新增文件
- DEPLOYMENT_COMPLETE_REPORT.md: 部署完成报告
- ORBSTACK_DEPLOYMENT_COMPLETE.md: OrbStack 部署报告
- configure-openrouter-dify.sh: OpenRouter + Dify 配置脚本
- fix-dify-orbstack.sh: Dify OrbStack 修复脚本
- setup-openrouter-simple.sh: 简化 OpenRouter 配置
- test-openrouter-workflow.json: 测试工作流配置
- verify-openrouter-config.sh: 配置验证脚本
## 配置优化
- 更新 configure-openrouter-direct.sh 配置参数
- 完善多个 OpenRouter 部署方案
- 添加测试和验证功能
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-04 11:58:53 +08:00
gao and Claude
2c616faba0
feat: 完成 GitLab macOS 优化部署和 CI/CD 配置
...
## 主要改进
- 升级 GitLab CE 到 16.11.7 (最新稳定版)
- 优化性能配置 (Puma worker, Sidekiq 并发控制)
- 禁用不必要服务节省资源 (Prometheus/Grafana)
- 配置国内 APT 镜像源加速更新
- 添加时区设置 Asia/Shanghai
## 新增功能
- 一键部署脚本 (init-gitlab-optimized.sh)
- 智能 Runner 注册 (register-runner-optimized.sh)
- 综合维护工具 (maintenance-gitlab.sh)
- SMTP 邮件配置向导 (setup-smtp.sh)
- 密码重置工具 (reset-gitlab-password.sh)
- 快速诊断脚本 (diagnose-gitlab.sh)
## CI/CD 配置
- 注册 Docker Runner (容器化构建)
- 注册 Shell Runner (本地脚本执行)
- 创建 CI/CD 模板文件
- Runner 配置优化和清理
## 文档完善
- 技术文档 (CLAUDE.md)
- 优化部署指南 (OPTIMIZATION_GUIDE.md)
- 使用说明和故障排除指南
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-04 11:49:57 +08:00
gao
af07f0e79a
clean: 移除测试文件
2025-11-03 06:57:33 +08:00
gao
8cdeaa4165
test: 最终凭据验证
2025-11-03 06:55:50 +08:00
gao
62ae4f9f66
test: 验证凭据存储修复
2025-11-03 06:55:44 +08:00
gao and Claude
b253eee2ba
test: 验证 Git 凭据配置
...
- 测试新 token 的推送功能
- 验证 osxkeychain 凭据存储
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-03 06:50:27 +08:00
gao and Claude
331a4973ca
update: 更新 qwen-code 子模块到最新版本
...
- 完善的 qwen-code 文档和配置指南
- 新增多种包装脚本和工具
- 支持阿里官方 qwen-code 工具集成
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-03 06:47:50 +08:00
gao and Claude
e8af889954
test: 验证安全凭据配置
...
🔐 安全配置更新
- 移除 Git URL 中的明文访问令牌
- 配置使用 macOS Keychain 安全存储凭据
- 测试新的认证方式
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-03 06:45:49 +08:00
gao
8f16f3fdc5
docker-build
2025-11-03 06:41:29 +08:00
gao and Claude
8f47f4e9ea
feat: 完善 DevOps 工具链配置和优化 Harbor 服务
...
- 更新 Gitea runner 配置,支持优化的 CI/CD 环境
- 完善 Harbor HTTPS 配置和远程访问支持
- 优化 Harbor 日志配置,改用 json-file 驱动
- 添加 Docker 构建加速和代理缓存脚本
- 新增完整的文档和使用指南
- 添加 AI 开发工具集成配置
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-03 06:39:53 +08:00
gao and Claude
7e07e9a41b
test: Actions 功能启用后的工作流触发测试
...
- 测试 Gitea Actions 是否能正常触发
- 验证 Runner 能否接收并执行任务
- 检查质量门禁工作流完整性
🚀 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-28 15:42:15 +08:00
gao and Claude
745aa30d5f
feat: 完善云原生 DevOps 工具链和 Harbor 集成
...
- 更新 Harbor 配置和部署脚本
- 添加 Gitea runner 配置和相关文件
- 完善 Tekton 流水线配置
- 添加 Harbor 镜像推送和管理脚本
- 修复 CI/CD 部署步骤和配置
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-28 14:57:30 +08:00
gao and Claude
c6154b15fe
feat: 添加完整的云原生 CI/CD 架构配置
...
## 新增组件
- ✅ Gitea Kubernetes 部署配置 (Helm)
- ✅ ArgoCD GitOps 应用配置
- ✅ Tekton Pipelines 完整流水线
- ✅ Tekton Triggers 自动触发
- ✅ Kubernetes 部署清单
- ✅ 安全配置和密钥管理
- ✅ 监控和可观测性配置
## 架构特点
- 🚀 云原生设计,轻量级高效
- 🔄 GitOps 最佳实践
- 🔧 自动化 CI/CD 流水线
- 🛡️ 安全扫描和权限控制
- 📊 监控和告警集成
- 📈 水平扩缩容支持
## 支持的应用
- 📚 Bookstore 智能阅读平台
- 🔧 Spring Boot + MyBatis Plus
- 🤖 AI 集成 (Ollama/OpenAI)
- 📊 OpenSearch 向量搜索
- 💾 MySQL + Redis 数据存储
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-22 16:44:07 +08:00
gao and Claude
1e8db810b0
fix: 将 Gitea 容器连接到 core 网络
...
- 添加对外部 core 网络的连接
- 保留原有的 gitea-network 用于独立通信
- 确保 Gitea 可以与 core 网络中的其他服务通信
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-22 15:45:54 +08:00
gao and Claude
dd89d39313
更新缓存时间戳并添加备份目录
...
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-22 15:41:45 +08:00
gao and Claude
0976ee37b5
feat: 优化Harbor配置并集成到core网络
...
- 设置Harbor管理员密码为admin123
- 绑定所有端口到0.0.0.0以支持远程访问
- 将Harbor网络配置改为使用外部core网络
- 支持HTTP和HTTPS双协议访问
- 更新Gitea容器名称避免冲突
- 更新项目上下文缓存
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-22 15:29:21 +08:00
gao and Claude
fc9371e443
feat: 完成企业级 DevOps 基础设施部署
...
## 🏗️ 新增功能
- **shared/**: 完整的基础组件部署方案
- docker-compose.yml: 统一编排所有基础服务
- .env.example: 标准化环境变量配置
- prometheus/prometheus.yml: 监控配置
- bin/up.sh & down.sh: 一键部署脚本
- README.md: 完整的使用文档
## 🛠️ 核心服务
- **数据库层**: PostgreSQL 16 + MySQL 8 (统一密码: 123456)
- **缓存层**: Redis 7 (密码: 123456)
- **代码管理**: GitLab CE + Gitea (双代码仓库)
- **镜像仓库**: Harbor (Docker Registry)
- **监控层**: Prometheus + Grafana + cAdvisor
- **网关反代**: Traefik v3.1
## 🔧 技术优化
- 所有端口统一使用 2xx80 系列,避免端口冲突
- 统一网络架构 (core network),支持多项目接入
- 完善的健康检查和服务依赖配置
- 支持 ARM64 架构 (MySQL 8 兼容性修复)
## 📚 文档更新
- SYSTEM-CONFIG.md: 系统配置文档完善
- harbor/README.md: Harbor 模块使用说明
- docs/: 完整的部署和运维文档
## 🚀 部署说明
所有服务已成功启动并通过验证:
- GitLab: http://localhost:28082 (root/SecurePass2024!)
- Gitea: http://localhost:23000
- Harbor: http://localhost:28081
- Grafana: http://localhost:23001 (admin/123456)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-22 00:19:41 +08:00
gao and Claude
70f845cd17
feat: 添加 Harbor 和 GitLab 模块,完善系统配置文档
...
- 新增 Harbor 容器镜像仓库维护模块
- 新增 GitLab 代码托管平台维护模块
- 创建 SYSTEM-CONFIG.md 系统配置概览文档
- 完善 README.md 项目说明文档
- 更新部署脚本支持新模块
- 集成 Ollama AI 模型服务配置信息
主要功能:
- Harbor: Docker 镜像仓库管理 (端口 8080/8443)
- GitLab: 企业级代码托管 (端口 8890/8929)
- 系统配置文档:便于 Claude 和 CI/CD 理解架构
- 统一备份策略和健康监控
- 模块化部署和管理
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-10-20 21:22:20 +08:00