-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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] Support external database, for self-hosted version #1573
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
this would be nice |
Yes, this would be nice. But I don't think it need to be serverless. MongoDB, Postgres etc would be fine. It would also be nice if the "login" interface was the first thing the user was getting if they are not logged in. |
@julianbrennum The repo suggests Vercel or Docker for hosting currently. While you're correct for those who choose to use Docker for deployment on a regular server, others who use Vercel need a DB that provides an HTTP interface, since serverless hosts can't reliably maintain long-lived connections to a DB. But there are providers of Mongo and Postgres (and others) that meet that requirement (e.g. Neon for Postgres) |
Fully agree with you, really miss login button and spent some time to find it |
This issue is closed, If you have any questions, you can comment and reply. |
Database Server DB Guide:https://lobehub.com/docs/self-hosting/advanced/server-database |
Database Server DB Guide:https://lobehub.com/docs/self-hosting/advanced/server-database |
🎉 This issue has been resolved in version 1.0.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🥰 Feature Description
Using IndexDB browser storage has a couple limitations:
The option to connect a hosted, serverless-compatible database would solve this, e.g.:
VercelSQL (based on NeonDB) & NeonDB (based on Postgres) both support vector embeddings, which would allow for RAG too.
🧐 Proposed Solution
This would require user authentication.
This way if the browser's site data is cleared, no chat history or agents are lost and it can be shared across devices; only the API keys would need to be re-entered.
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: