All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
38 lines
750 B
YAML
38 lines
750 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: immich-database
|
|
spec:
|
|
instances: 1
|
|
imageName: ghcr.io/tensorchord/cloudnative-vectorchord:16.9-0.4.3
|
|
postgresql:
|
|
shared_preload_libraries:
|
|
- "vectors.so"
|
|
- "vchord.so"
|
|
|
|
managed:
|
|
roles:
|
|
- name: immich
|
|
superuser: true
|
|
login: true
|
|
|
|
postgresql:
|
|
shared_preload_libraries:
|
|
- "vchord.so"
|
|
|
|
bootstrap:
|
|
initdb:
|
|
postInitApplicationSQL:
|
|
- CREATE EXTENSION vchord CASCADE;
|
|
- CREATE EXTENSION earthdistance CASCADE;
|
|
|
|
plugins:
|
|
- name: barman-cloud.cloudnative-pg.io
|
|
isWALArchiver: true
|
|
parameters:
|
|
barmanObjectName: immich-minio-store
|
|
|
|
storage:
|
|
storageClass: longhorn-2x
|
|
size: 5Gi
|