-
Notifications
You must be signed in to change notification settings - Fork 262
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
feat: Update PostgreSQL image to include pgvector extension #426
Conversation
- Updated pgimage to pgvector extension enabled image. - Ensured compatibility with existing configurations.
@mutaiib Thanks for the contribution! This could definitely help when the user wants to use the same PostgreSQL instance both for Unstract backend metadata storage and as the Vector DB. However, wanted to confirm one thing though.
NOTE: Later we could use new |
Yup, both. I was not only able to run the application, I ran and tested it using the postgres as the vector DB integration. BTW, ill have a look into the |
@ritwik-g @gaya3-zipstack @chandrasekharan-zipstack
|
Yes, this difference is handled and controlled by the image we use for different deployments
I tried this and I didn't face any issues, however will let @gaya3-zipstack confirm since she explicitly did some testing around this. |
Regarding the second point. Since we are storing data in volume. The image change shouldn't cause any issue assuming the pgvector image also uses the same path for data storage |
I also tested locally with existing data and could not see any issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine
|
What
Update PostgreSQL image to include pgvector extension.
Why
The current image under
docker/docker-compose-dev-essentials:servides:db
does not come with thepgvector
extension enabled, halting the process of using PostgreSQL as the vector database.How
Replaced the
postgres:15.6
image withpgvector/pgvector:pg15
.Can this PR break any existing features? If yes, please list possible items. If no, please explain why. (PS: Admins do not merge the PR without this section filled)
No, since the image installs the
pgvector
and runs on the supported version of PostgreSQL.Database Migrations
N/A
Env Config
N/A
Relevant Docs
pgvector GitHub
Related Issues or PRs
N/A
Dependencies Versions
N/A
Notes on Testing
N/A
Screenshots
N/A
Checklist
I have read and understood the Contribution Guidelines.