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

[Request] kubernetes 部署指导 #2587

Open
chenxinlong opened this issue May 21, 2024 · 8 comments
Open

[Request] kubernetes 部署指导 #2587

chenxinlong opened this issue May 21, 2024 · 8 comments
Labels
🌠 Feature Request New feature or request | 特性与建议

Comments

@chenxinlong
Copy link

🥰 需求描述

从官方文档上我找到了 docker/docker compose 部署文档,但是我没有发现 "持久化“ 相关配置。

在 kubernetes 上部署时我需要将 lobe-chat 的持久化数据存储到 pvc 上,我想要知道目前 lobe-chat 以容器方式运行时,数据存储在哪个路径?

🧐 解决方案

开放出一个环境变量,指定 lobe-chat 的持久化数据路径。

📝 补充信息

No response

@chenxinlong chenxinlong added the 🌠 Feature Request New feature or request | 特性与建议 label May 21, 2024
@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

I 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?

🧐 Solution

Open an environment variable to specify the persistent data path of lobe-chat.

📝 Supplementary information

No response

@lobehubbot
Copy link
Member

👀 @chenxinlong

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@cy948
Copy link
Contributor

cy948 commented May 21, 2024

目前没有持久化,待 #2556 合并后会有后端数据库支持。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is currently no persistence, and there will be backend database support after #2556 is merged.

@chenxinlong
Copy link
Author

目前没有持久化,待 #2556 合并后会有后端数据库支持。

了解。

能否支持通过环境变量指定持久化数据路径,例如 POSTGRES_DATA 。这对 lobe-chat 部署在 kubernetes 环境会更加友好。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is currently no persistence, and there will be backend database support after #2556 is merged.

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.

@cy948
Copy link
Contributor

cy948 commented May 21, 2024

能否支持通过环境变量指定持久化数据路径,例如 POSTGRES_DATA 。这对 lobe-chat 部署在 kubernetes 环境会更加友好。

目前还没有提供 docker compose 的部署方式,现在用的是 neon 提供的 serverless pgsql

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you 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.

Currently, there is no deployment method for docker compose. Currently, serverless pgsql provided by neon is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议
Projects
None yet
Development

No branches or pull requests

3 participants