feat: 生产部署准备 — 构建加速 + 24迁移链分批脚本 + 搜索性能优化
- Dockerfile 腾讯源 + BuildKit 缓存(backend pip / frontend npm ci),gitea 锁 1.27.1 - .dockerignore 纳入版本管理(防密钥进镜像) - 新增 migrate_prod.sh:24 个迁移分 4 批执行,含镜像新鲜度 + DB 起点校验 - cb07d6b1df01 移除 search_tsv 回填(延迟到 g0h1i2j3k4l5 统一全量回填) - 模型 journal_iso/volume/issue/pages → Text(对应迁移 95c18ebf31e4 / 55105f0bb1d7) - 搜索优化:tsvector 主路径 + COUNT 截断(10000) + pub_date 排序,admin 聚合单查询 - statement_timeout 30s→60s
This commit is contained in:
@@ -260,7 +260,7 @@ services:
|
||||
max-file: "3"
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:latest-rootless
|
||||
image: gitea/gitea:1.27.1-rootless
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- scilit
|
||||
|
||||
Reference in New Issue
Block a user