9939d32befb3535fcf1b681e051022756face6f0
- 新增 API 计费网关设计(Koa.js + Redis + MongoDB 双存储架构) - 新增 Redis 滑动窗口分布式限流中间件实现 - 新增 Koa 洋葱模型三层中间件链与全局错误处理 - 新增 BillingService 计费核心逻辑与用户配额管理 - 新增 RedisClient 懒加载单例封装与连接管理 - 新增 Winston 多通道 JSON 分级日志系统 - 新增 MongoDB 数据模型设计与索引优化策略
何朝晖 - 简历项目
在线简历部署项目,支持多岗位简历,使用 Docker + Nginx 部署,Gitea Actions 自动化 CI/CD。
目录结构
resume/
├── .gitea/workflows/deploy.yml # Gitea Actions CI/CD 配置
├── Dockerfile # Docker 构建文件
├── nginx.conf # Nginx 路由配置
├── css/
│ └── resume.css # 全局样式(所有简历共享)
├── img/ # 公共图片资源(所有简历共享)
├── resume/
│ └── index.html # 主简历 → /resume
└── other/
├── index.html # 导航页 → /other
├── infra-engineer/
│ └── index.html # 基础架构工程师简历 → /other/infra-engineer
└── security-engineer/
└── index.html # 网络安全工程师简历 → /other/security-engineer
访问地址
| 页面 | 地址 |
|---|---|
| 主简历 | http://47.121.181.112:8080/resume |
| 导航页 | http://47.121.181.112:8080/other/ |
| 基础架构工程师 | http://47.121.181.112:8080/other/infra-engineer/ |
| 网络安全工程师 | http://47.121.181.112:8080/other/security-engineer/ |
添加新岗位简历
- 在
other/下新建目录,如other/frontend-dev/ - 复制任意一份已有简历作为模板
- 修改目标职位、技术栈标签、线上简历链接等
- 更新
other/index.html导航页,添加新简历链接 - 更新
nginx.conf,添加对应的 location 块 - 推送到 main 分支,自动部署
部署方式
推送到 main 分支后,Gitea Actions 自动执行:
- 克隆仓库
- 构建 Docker 镜像(nginx:alpine)
- 停止旧容器,启动新容器
- 映射端口 8080 → 80
Description
Languages
HTML
84%
CSS
15.5%
Dockerfile
0.5%