接通 Windows 与 Web 设备间加密文字聊天

This commit is contained in:
xhgit committed 2026-11-13 18:43:04 +08:00
1 parent b04034ee89
commit d1efdedc57
27 files changed
+880 -22

No files matched your search

+10 -1
View File
@@ -6,4 +6,13 @@
使用 `docker compose logs api` 检查应用日志。停止服务用 `docker compose down`。PostgreSQL 的数据由 Compose 命名卷保存。
使用 `pg_dump` 生成数据库备份,备份包含账号与设备元数据,应在受控环境加密保存。使用 `pg_restore` 恢复到独立数据库,执行迁移与 API 验证后切换服务。恢复时清除历史会话并重建 Redis 短期状态。阶段一暂无聊天和附件数据。
使用 `pg_dump` 生成数据库备份,备份包含账号、设备元数据和未过期的 MLS 封包,应在受控环境加密保存。使用 `pg_restore` 恢复到独立数据库,执行迁移与 API 验证后切换服务。恢复时清除历史会话并重建 Redis 短期状态。
Compose 会构建并在 Web 镜像中提供 MLS WASM。构建 Windows 客户端前,可从运行中的 Web 容器同步绑定到本地,再构建 Vue 渲染层。
```powershell
New-Item -ItemType Directory -Path web/public/mls -Force | Out-Null
docker compose cp web:/usr/share/nginx/html/mls/. web/public/mls
npm.cmd run build
npm.cmd run desktop
```