Commit Graph

18 Commits

Author SHA1 Message Date
zerosaturation
e1fb138e8e fix(deploy): health probe paths + starbookService deployment removal (config 4.3)
- k8s helm values.yaml: notificationService/moderationService healthPath 改 /health
  (原 /healthz 与 pkg/health 实际注册路径不一致);
- 删除 k8s helm starbookservice template (服务已删, 部署已无效);
- docker-compose.{local,prod}.yml: 删 starbookService 服务块 + URL env + depends_on;
- Dockerfile.services: 删 starbookService 构建 Stage;
- build.sh + deploy.sh: 删 starbookService 引用 + ALL_SERVICES_NAME 帮助文本。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 14:04:41 +08:00
zerosaturation
7bf4666cdb fix:restart 命令卡死问题
deploy.sh restart 命令原本 down && up --force-recreate + sleep 10,
在以下场景会卡死:
1) docker-compose up 中途异常退出,server-side 进程没回传 EOF,
   本地 ssh 客户端没设 ServerAliveInterval,死链检测不到,
   ssh 进程挂 25+ 分钟不退出 (2026-07-21 实测)
2) up --wait 等所有服务 healthy 才返回,但本 compose 里有
   oss-cors-init (restart: no, exited(0) 永远不 running) +
   moderationservice/notificationservice healthcheck 写错,
   永远卡住

修改:
- ssh_cmd / ssh_cmd_batch / scp_cmd 加 ServerAliveInterval=30 +
  ServerAliveCountMax=3,死链 90s 主动断
- restart 去掉前置 docker-compose down (up --force-recreate 自带 stop+create)
- restart 去掉末尾 sleep 10,改 polling gateway healthy (timeout 180s)

端到端实测 1:19 通过。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-21 12:12:27 +08:00
zerosaturation
440a7ad7d2 feat:增加k8s部署 2026-07-06 13:27:24 +08:00
zerosaturation
64b501102b feat:修改docekt配置添加ossCROS的配置 2026-06-24 16:30:00 +08:00
zerosaturation
94457ffa8a feat:修改遗留bug 2026-06-23 19:37:18 +08:00
zerosaturation
ef0a4f6afd feat:修改通知系统的消息 2026-06-17 11:59:51 +08:00
zerosaturation
9ab54c7640 feat:修改websocket的前缀 2026-06-16 01:12:12 +08:00
zerosaturation
b38174917a feat:修改配置 2026-06-14 21:04:05 +08:00
zerosaturation
542b1bd4f0 feat:修改docker脚本配置 2026-06-11 18:17:33 +08:00
zerosaturation
280b4bbee0 feat:docker新增统计的微服务 2026-06-11 16:35:56 +08:00
zerosaturation
23a8051e96 feat: 修改头像显示不全,修改docker的配置 2026-06-04 16:41:20 +08:00
zerosaturation
64809ea308 feat: 修改docker配置添加AI的微服务 2026-05-29 21:37:08 +08:00
zerosaturation
f6e1caad8b feat:新增docker密钥登录部署 2026-04-24 18:04:55 +08:00
zerosaturation
6663df10e8 feat: docker修改 2026-04-10 12:54:44 +08:00
zerosaturation
6f51cead6c feat: 部署diocker到服务器上 2026-04-08 20:48:38 +08:00
zerosaturation
656c8fefac feat: oss修改key 2026-04-08 13:43:11 +08:00
zerosaturation
eff7b8d6f0 feat: 增加手机号脱敏显示 2026-04-08 10:59:46 +08:00
zerosaturation
0e6d0c3584 初始化项目 2026-04-07 22:28:50 +08:00