默认使用 GHCR 单文件部署,并补齐 Compose 启动依赖 - #146
Merged
Merged
Conversation
根 Compose 改用与发布清单一致的固定 GHCR 镜像,既有源码部署更新配置后默认改为运行发布镜像;开发者通过 build override 继续构建三个应用服务。同步双语单文件安装说明和 CI 合并检查,避免用户为自托管克隆并编译仓库。
本地实测原 GHCR 0.22.0 不存在,改用已发布的 0.24.0。默认 app 现在等待 PostgreSQL 健康与对象桶初始化完成,既有部署更新 Compose 后启动时序随之变化。记录先停应用再重启基础设施的流程,避免并发重启时进入 recovery。已验证空卷首次安装、鉴权、Store 字节读写和有序重启持久性;verify 与全仓 build 通过。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
默认 Compose 改为拉取已发布的 GHCR 镜像,用户只需下载一份 YAML 即可部署,无需克隆源码、本地构建或准备
.env。同时修正原发布清单引用的不存在标签,并让应用等待 PostgreSQL 健康及对象桶初始化完成。变更与升级影响
ghcr.io/tokenrollai/tool-bridge:0.24.0。docker compose up -d将使用 GHCR 镜像;源码开发需显式叠加docker-compose.build.yml,或使用pnpm compose:build。验证
pnpm verify、pnpm turbo run build通过。linux/arm64实际拉取 GHCR 镜像,独立 Compose 项目使用全新空卷首次配对安装成功,/readyz为 200。已知运行边界
直接同时
restart应用与数据库可能使应用进入 recovery。整组重启应先完整停止应用,再停止基础服务,最后运行docker compose up -d;该流程已实测。此次没有修改服务的自动恢复机制,也未验证 AMD64 运行。本次只修改部署配置、根开发脚本和文档,未修改可发布包,无需 npm 版本提升。