Use CNPG-compatible pgvecto.rs image

This commit is contained in:
Ruben Hensen
2026-01-21 00:21:08 +01:00
parent a94983f816
commit 7535bd2be2
2 changed files with 376 additions and 3 deletions
+3 -3
View File
@@ -6,11 +6,11 @@ metadata:
spec:
instances: 1
imageName: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
# Use TensorChord's CNPG-compatible image with pgvecto.rs
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16-v0.4.0
postgresql:
shared_preload_libraries:
- "vchord.so"
- "vectors.so"
bootstrap:
@@ -19,8 +19,8 @@ spec:
owner: immich
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS vectors;
- CREATE EXTENSION IF NOT EXISTS cube;
- CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;
- CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
storage:
size: 20Gi