Skip to content

This repository contains a custom Docker image based on cloudnative-vectorchord with the pgvecto.rs extension pre-installed. It is designed to support a safe and smooth migration from pgvecto.rs to VectorChord for projects such as Immich using cloudnative-pg to manage their PostgreSQL clusters.

Notifications You must be signed in to change notification settings

quartje/cnpg-pgvector-vectorchord

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Custom PostgreSQL image for Immich migration (pgvecto.rs โ†’ VectorChord)

This repository contains a custom Docker image based on cloudnative-vectorchord with the pgvecto.rs extension pre-installed. It is designed to support a safe and smooth migration from pgvecto.rs to VectorChord for projects such as Immich using cloudnative-pg to manage their PostgreSQL clusters.


๐Ÿš€ Why this image?

Starting from Immich v1.133.0, the pgvecto.rs extension is deprecated in favour of VectorChord, offering better performance and more stability.

However, in order to migrate existing databases, both extensions (pgvecto.rs and VectorChord) must be available at the same time in the PostgreSQL image. This image makes that possible.


๐Ÿงช What's inside

  • ๐Ÿ˜ Base: ghcr.io/tensorchord/cloudnative-vectorchord:16-0.3.0
  • โž• Adds pgvecto.rs v0.3.0 (as a .deb package)
  • โœ… Compatible with cloudnative-pg
  • โœ… Tested with Immich v1.133.0+

๐Ÿ› ๏ธ Usage

spec:
  image:
    name: ghcr.io/corentingiraud/cnpg-pgvector-vectorchord
    tag: 1.0.2

โš ๏ธ Notes

  • Only use this image during the migration phase.

  • Once your migration is complete and Immich works correctly, you can switch to a leaner image with just VectorChord, like:

    ghcr.io/tensorchord/cloudnative-vectorchord:16-0.3.0
    

๐ŸงŠ Credits


๐Ÿ“ฌ Feedback

Feel free to open an issue or PR if you have suggestions, improvements, or questions ๐Ÿ™Œ

About

This repository contains a custom Docker image based on cloudnative-vectorchord with the pgvecto.rs extension pre-installed. It is designed to support a safe and smooth migration from pgvecto.rs to VectorChord for projects such as Immich using cloudnative-pg to manage their PostgreSQL clusters.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dockerfile 100.0%