fix: add to vector db privs to allow using it. Also update app to latest version.

This commit is contained in:
Tommy 2024-05-11 16:50:47 +02:00
parent b4e6bf1132
commit deeccc5b68
No known key found for this signature in database
3 changed files with 6 additions and 80 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: immich name: immich
description: | description: |
High-performance self-hosted photo and video management High-performance self-hosted photo and video management
appVersion: 1.100.0 appVersion: 1.103.1
type: application type: application
icon: https://avatars.githubusercontent.com/u/109746326?s=200&v=4 icon: https://avatars.githubusercontent.com/u/109746326?s=200&v=4
version: 0.1.6 version: 0.1.6

View file

@ -11,4 +11,8 @@ data:
create-extensions.sql: | create-extensions.sql: |
CREATE EXTENSION IF NOT EXISTS cube; CREATE EXTENSION IF NOT EXISTS cube;
CREATE EXTENSION IF NOT EXISTS earthdistance; CREATE EXTENSION IF NOT EXISTS earthdistance;
CREATE EXTENSION IF NOT EXISTS vectors; CREATE EXTENSION IF NOT EXISTS vectors;
ALTER SCHEMA vectors OWNER TO immich;
RESET search_path;
SET search_path TO "$user", public, vectors;
GRANT SELECT ON TABLE pg_vector_index_stat TO immich;

View file

@ -1,78 +0,0 @@
config:
externalUrl: https://photos.example.com/
machineLearningUrl: http://immich-machine-learning.home.svc.cluster.local:3003
image:
repository: ghcr.io/immich-app/immich-server
envSecretName: immich-secret
library:
persistence:
existingClaim: immich
configuration:
trash:
enabled: false
days: 30
storageTemplate:
enabled: true
template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
microservices:
securityContext: {}
resources:
limits:
memory: "3Gi"
cpu: "1000m"
requests:
cpu: 100m
memory: 100Mi
server:
securityContext: {}
resources:
limits:
memory: "3Gi"
cpu: "1000m"
requests:
cpu: 100m
memory: 100Mi
machineLearning:
persistence:
accessMode: ReadWriteOnce
size: 5Gi
image:
repository: ghcr.io/immich-app/immich-machine-learning
tag: v1.103.1
securityContext: {}
resources:
limits:
memory: "3Gi"
cpu: "1000m"
requests:
cpu: 100m
memory: 100Mi
initContainers:
dbInit:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: "16"
existingSecretName: immich-postgres-init-secret
pgvecto:
image:
repository: tensorchord/pgvecto-rs
tag: "pg16-v0.2.1-rootless"
existingSecretName: immich-postgres-init-secret
metrics:
enabled: true
port: 9001
redis:
host: dragonfly.databases.svc.cluster.local
port: 6397
postgres:
host: postgres-pgvectors-rw.databases.svc.cluster.local