Commit Graph

100 Commits

Author SHA1 Message Date
Xiaoxia AI a35abd155c fix(deploy): guard staging builds on business host 2026-06-24 22:54:55 +08:00
Xiaoxia AI 1c883ec704 fix(deploy): make staging web build opt-in 2026-06-24 19:51:34 +08:00
Xiaoxia AI bdb87508a1 fix(deploy): reuse staging backend images by default 2026-06-24 19:48:12 +08:00
Xiaoxia AI bf452e3510 fix(ops): prune old docker artifacts after deploy 2026-06-23 22:39:18 +08:00
Xiaoxia AI efa86088b8 fix(web): preserve lazy chunks across releases 2026-06-23 18:32:17 +08:00
Xiaoxia AI f65a6a4145 fix(upload): raise production upload limit to 800mb 2026-06-23 12:32:11 +08:00
Xiaoxia AI 159ebae0f2 fix(upload): support mov assets and large web uploads 2026-06-23 11:44:10 +08:00
Xiaoxia AI 545f2cba0f fix(web): allow production uploads through web proxy 2026-06-23 11:21:39 +08:00
Xiaoxia AI b7b0765ba6 docs(release): close package one boundary validation 2026-06-23 10:04:56 +08:00
Xiaoxia AI 816d98175a fix(ops): expose release version and limit worker concurrency 2026-06-23 07:52:19 +08:00
Xiaoxia AI fb633a8ed4 fix(deploy): recreate web after api release 2026-06-22 20:07:16 +08:00
Xiaoxia AI 8a9542274f fix(deploy): require runtime image artifact for production 2026-06-22 14:53:48 +08:00
Xiaoxia AI 6fb8d11cec fix(deploy): skip runtime image builds on production host 2026-06-22 10:04:26 +08:00
Xiaoxia AI 1cf43fa6a0 fix(deploy): isolate production web api proxy 2026-06-22 10:02:03 +08:00
Xiaoxia AI 1939878dec fix(deploy): require prebuilt web artifact for production 2026-06-22 09:34:27 +08:00
Xiaoxia AI c7f243d7d8 fix(deploy): cache web dependencies during image build 2026-06-22 07:47:49 +08:00
Xiaoxia AI d7ff0dceb1 fix(deploy): allow direct production deploy host prefix 2026-06-22 07:15:02 +08:00
Xiaoxia AI aa2b190866 fix(deploy): allow direct staging deploy host prefix 2026-06-21 23:13:51 +08:00
Xiaoxia AI 238cffcbcf fix(deploy): align staging deploy host prefix 2026-06-21 23:11:36 +08:00
Xiaoxia AI 70a9f4f4b5 fix(deploy): use mirrored web base images 2026-06-21 17:23:24 +08:00
Xiaoxia AI 2874ab0ac0 fix(deploy): rebuild web image during releases 2026-06-21 16:49:00 +08:00
Xiaoxia AI a186f367f3 fix(deploy): separate production application deployment 2026-06-21 15:50:40 +08:00
Xiaoxia AI 713a244e80 chore(release): provision separated production infrastructure 2026-06-21 15:35:09 +08:00
Xiaoxia AI 6d68c28860 chore(release): validate production env readiness 2026-06-21 12:34:51 +08:00
Xiaoxia AI 46bd774742 build(docker): include maintenance scripts 2026-06-21 11:32:54 +08:00
Xiaoxia AI a9751783b2 fix(deploy): parameterize alembic schema probe 2026-06-21 07:04:39 +08:00
Xiaoxia AI 654c0f3ab0 fix(deploy): preserve alembic version probe quoting 2026-06-21 07:02:46 +08:00
Xiaoxia AI 4c89d6b440 fix(deploy): handle alembic baseline stamping 2026-06-21 06:55:56 +08:00
Xiaoxia AI 0809a079c5 refactor(db): introduce alembic schema baseline 2026-06-21 06:48:16 +08:00
Xiaoxia AI e61dfc27f6 refactor(deploy): freeze canonical docker entrypoint 2026-06-21 05:09:21 +08:00
Xiaoxia AI c93e064f3b fix(deploy): bind generated files to host path 2026-06-20 23:44:00 +08:00
Xiaoxia AI bcfad4ad6a fix(deploy): expose generated video files 2026-06-20 23:40:47 +08:00
Xiaoxia AI 1e3a52fa17 fix(worker): persist generated mp4 without oss 2026-06-20 23:17:52 +08:00
Xiaoxia AI bd1c936635 fix(deploy): build compose services serially 2026-06-20 23:09:56 +08:00
Xiaoxia AI 554f7fc192 fix(deploy): rebuild only backend services on deploy 2026-06-20 23:01:50 +08:00
Xiaoxia AI 017277c152 fix(deploy): avoid remote metadata checks during compose build 2026-06-20 22:57:33 +08:00
Xiaoxia AI 1fb8463bab fix(worker): speed up ffmpeg package install 2026-06-20 22:52:23 +08:00
Xiaoxia AI 3afe9689f7 feat(worker): generate real mp4 outputs 2026-06-20 22:42:07 +08:00
Xiaoxia AI 4dbdb0f853 chore(ci): use prebuilt python validation image 2026-06-20 21:05:10 +08:00
Xiaoxia AI d31c62d4e2 fix(deploy): align deployment with split infrastructure 2026-06-20 19:02:48 +08:00
Xiaoxia AI 94dd60108c refactor: 彻底迁移到阿里云 OSS 并重构基础设施
- 删除 MinIO 依赖,改用阿里云 OSS (oss2)
- 重写存储服务 storage.py(完全兼容原接口)
- 更新配置:config.py 改为 OSS_* 配置项
- 重构 Docker Compose:分离基础设施(infra.yml)和应用(compose.yml)
- 添加健康检查和自动重启配置
- 创建标准化部署脚本(init-server.sh + deploy.sh)
- 统一 Nginx 配置(主域名 api.xiaoxiajianji.com)
- 修复 Web Dockerfile 端口映射(80 not 3000)

服务器清理完成:
- 删除旧云控制台、监控系统、桌面版代码
- 删除 2.6GB 旧安装包
- 清理 Docker 缓存 2.5GB
- 磁盘使用率从 48% 降至 26%
2026-06-20 15:24:24 +08:00
Xiaoxia AI 0f42ca1a7b fix: correct web Dockerfile for Vite (not Next.js) 2026-06-20 14:08:27 +08:00
Xiaoxia AI 6537a518fd fix: correct paths in deployment scripts for container execution 2026-06-20 12:20:55 +08:00
Xiaoxia AI ab19d487db fix: configure API URL for production frontend 2026-06-17 00:25:27 +08:00
Xiaoxia AI 9fe0614d43 feat: add deployment configs, systemd service, and tracker init scripts 2026-06-16 22:01:24 +08:00
Xiaoxia AI f69e649c7f chore: wire real host-based gitea deploy 2026-06-15 19:58:11 +08:00
Xiaoxia AI 2c86106c08 fix: switch docker pip mirror to aliyun 2026-06-15 18:53:37 +08:00
Xiaoxia AI ba4e672bf8 fix: use domestic pip mirror for docker builds 2026-06-15 18:52:33 +08:00
Xiaoxia AI 4475677763 chore: wire deployment to environment-based configuration 2026-06-15 18:40:56 +08:00
Xiaoxia AI b5a62ee9a3 feat: initial SaaS scaffold
- domain: User, Workspace, Project, AssetLibrary, Asset, IngestJob
- ports: repository interfaces
- application: use cases
- adapters: in-memory
- API: FastAPI 5 routes
- worker: Celery ingest_asset
- tests: 4 passing
2026-06-15 15:17:40 +08:00