Feature: add Docker support - #116
Conversation
|
Thank you for your contribution! We will review your request as soon as possible. Please review the code yourself using ponytail https://github.com/DietrichGebert/ponytail. |
|
感谢贡献,稍后我们看下 |
|
|
||
| # Health check | ||
| HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ | ||
| CMD wget --no-verbose --tries=1 --spider http://localhost:8080/actuator/health || exit 1 |
There was a problem hiding this comment.
这里有对启动的容器验证吗?
仓库里没有 actuator:pom.xml 无 spring-boot-starter-actuator,代码里也没有任何 /actuator/health 或自定义 /health 端点,/actuator/health 只会 404,wget --spider 对 404 返回非零 → 容器永远 unhealthy。
| worker_connections 1024; | ||
| } | ||
|
|
||
| http { |
There was a problem hiding this comment.
1、nginx.conf 的 /api/ 反代没写 proxy_buffering off,默认缓冲会把流式输出攒起来、卡顿,甚至前端"假死";proxy_read_timeout 60s 还会把 >60s 无输出的长推理直接掐断
|
辛苦打包好镜像后继续测试下,直接访问容器的地址来测试功能是否正常 |
|
提交commit修复的内容如下: 之前验证了一下午感觉都好好的,这次测到这么多问题感觉自己失忆了。。 |
#63
docs/getting-started.md
已测试过: