-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
[Request] kubernetes 部署指导 #2587
Comments
🥰 Description of requirementsI found the docker/docker compose deployment documentation from the official documentation, but I did not find the "persistence" related configuration. When deploying on kubernetes, I need to store the persistent data of lobe-chat on pvc. I want to know which path the data is stored in when lobe-chat is currently running as a container? 🧐 SolutionOpen an environment variable to specify the persistent data path of lobe-chat. 📝 Supplementary informationNo response |
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
目前没有持久化,待 #2556 合并后会有后端数据库支持。 |
There is currently no persistence, and there will be backend database support after #2556 is merged. |
了解。 能否支持通过环境变量指定持久化数据路径,例如 POSTGRES_DATA 。这对 lobe-chat 部署在 kubernetes 环境会更加友好。 |
learn. Is it possible to support specifying the persistent data path through environment variables, such as POSTGRES_DATA? This will be more friendly for lobe-chat to be deployed in the kubernetes environment. |
目前还没有提供 docker compose 的部署方式,现在用的是 neon 提供的 serverless pgsql |
Currently, there is no deployment method for docker compose. Currently, serverless pgsql provided by neon is used. |
🥰 需求描述
从官方文档上我找到了 docker/docker compose 部署文档,但是我没有发现 "持久化“ 相关配置。
在 kubernetes 上部署时我需要将 lobe-chat 的持久化数据存储到 pvc 上,我想要知道目前 lobe-chat 以容器方式运行时,数据存储在哪个路径?
🧐 解决方案
开放出一个环境变量,指定 lobe-chat 的持久化数据路径。
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: