Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加一个给 Docker 容器用于检测容器健康状态的方法。 #14

Open
LamGC opened this issue Sep 16, 2022 · 0 comments
Open

加一个给 Docker 容器用于检测容器健康状态的方法。 #14

LamGC opened this issue Sep 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@LamGC
Copy link
Owner

LamGC commented Sep 16, 2022

计划添加一个 Http 服务端,用于检查 ScalaBot 的运行状态,

举个例子(不一定是实际实现)

例如接口为 http://localhost:8800/healthy,接口的返回有以下类型:

  • HTTP 200:ScalaBot 已启动完成,状态良好
  • HTTP 500:ScalaBot 出现异常,无法提供服务
  • HTTP 100:ScalaBot 正在启动中
@LamGC LamGC added the enhancement New feature or request label Sep 16, 2022
@LamGC LamGC changed the title 提供 Docker 容器用于检测容器健康状态的方法。 加一个给 Docker 容器用于检测容器健康状态的方法。 Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant