Repository navigation
构建:为多服务器服务增加健康检查和日志轮转 - #34
Merged
yichen11818 merged 2 commits intoNov 19, 2026
Merged
yichen11818 merged 2 commits into
yichen11818 merged 2 commits into
Conversation
- 为backend、voice和Web增加健康检查与自动重启策略 - 使用service_healthy控制服务启动顺序 - 限制Docker日志大小并增加生成配置回归测试
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.
多服务器生成配置增加健康检查、unless-stopped 重启策略和 json-file 日志轮转(每文件 10 MiB,最多 3 个)。共享 Web 和 backend 独立启动,不以其他实例健康为启动条件,单组故障不阻塞整个管理入口。健康检查验证本地端口或 Web 首页,不代表 TeamSpeak 已连接;unhealthy 本身不触发进程重启。
同步 HOWTOSTART 和中英文 README。9 项生成器回归通过,CI 真实容器检查验证:不启动任何 backend 时,生成配置中的 Web 可健康启动,页面和服务器清单可访问,不可用上游返回 502。后端、前端、Voice 和三种镜像 CI 全部通过。未修改生产或灾备部署。