Commit Graph

5 Commits

Author SHA1 Message Date
张翔 ece3c86e29 feat: 添加Docker部署配置和文档
- 创建docker-compose.yml多容器编排配置
- 创建Dockerfile多阶段构建配置
- 创建nginx.conf反向代理和SSL配置
- 创建.env.example环境变量示例文件
- 创建setup-ssl.sh SSL证书配置脚本
- 创建deploy.sh自动化部署脚本
- 创建DEPLOYMENT.md详细部署文档
- 配置容器名称为novalon-website,版本1.0.0
- 配置端口映射80和443
- 配置Let's Encrypt免费SSL证书
- 配置域名novalon.cn,服务器IP 139.155.109.62
- 配置ICP备案号:蜀ICP备2026013658号
2026-03-26 19:27:18 +08:00
张翔 498bb3a3c8 refactor: reorganize project structure and improve code quality
- Move CI/CD configs to config/ci/ directory
- Reorganize scripts into categorized directories (deployment, monitoring, testing, utils)
- Consolidate documentation into docs/ directory with proper structure
- Update linting and testing configurations
- Remove obsolete test reports and performance summaries
- Add new documentation for code quality tools and contact form security
- Improve project organization and maintainability
- Fix lint-staged config to only lint JS/TS files
- Disable react/react-in-jsx-scope rule for Next.js compatibility
- Ignore scripts and test config directories in ESLint
2026-03-24 13:38:58 +08:00
张翔 d6862b0754 docs: add security configuration documentation 2026-03-24 11:29:05 +08:00
张翔 4897c6e11c feat: 建立监控告警体系和生产环境配置
阶段三:建立监控告警体系
- 集成Sentry错误监控:安装依赖,创建配置文件,初始化Sentry
- 配置性能监控:创建监控工具类,实现健康检查API
- 更新环境变量模板,添加Sentry和数据库配置

阶段四:配置生产环境
- 创建生产环境变量模板
- 创建Dockerfile和docker-compose.prod.yml
- 创建备份和恢复脚本
- 设置脚本执行权限
2026-03-09 11:00:42 +08:00
张翔 87a0620670 feat: add environment variable configuration 2026-02-26 17:55:48 +08:00