|
@@ -0,0 +1,104 @@
|
|
|
|
+# for immich 0.3.1
|
|
|
|
+## This chart relies on the common library chart from bjw-s
|
|
|
|
+## You can find it at https://github.com/bjw-s/helm-charts/tree/main/charts/library/common
|
|
|
|
+## Refer there for more detail about the supported values
|
|
|
|
+
|
|
|
|
+# These entries are shared between all the Immich components
|
|
|
|
+
|
|
|
|
+env:
|
|
|
|
+ LOG_LEVEL: 'debug'
|
|
|
|
+ TZ: 'America/New_York'
|
|
|
|
+ REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}'
|
|
|
|
+ DB_HOSTNAME: "{{ .Release.Name }}-postgresql"
|
|
|
|
+ DB_USERNAME: "{{ .Values.postgresql.global.postgresql.auth.username }}"
|
|
|
|
+ DB_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}"
|
|
|
|
+ # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance
|
|
|
|
+ DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}"
|
|
|
|
+ IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
|
|
|
|
+
|
|
|
|
+image:
|
|
|
|
+ tag: v1.91.4
|
|
|
|
+
|
|
|
|
+immich:
|
|
|
|
+ persistence:
|
|
|
|
+ # Main data store for all photos shared between different components.
|
|
|
|
+ library:
|
|
|
|
+ # Automatically creating the library volume is not supported by this chart
|
|
|
|
+ # You have to specify an existing PVC to use
|
|
|
|
+ existingClaim: immich-pvc
|
|
|
|
+
|
|
|
|
+# Dependencies
|
|
|
|
+
|
|
|
|
+postgresql:
|
|
|
|
+ enabled: true
|
|
|
|
+ image:
|
|
|
|
+ repository: tensorchord/pgvecto-rs
|
|
|
|
+ tag: pg14-v0.1.11
|
|
|
|
+ global:
|
|
|
|
+ postgresql:
|
|
|
|
+ auth:
|
|
|
|
+ username: immich
|
|
|
|
+ database: immich
|
|
|
|
+ password: immich
|
|
|
|
+ primary:
|
|
|
|
+ persistence:
|
|
|
|
+ size: 8Gi
|
|
|
|
+ storageClass: ceph-block
|
|
|
|
+ initdb:
|
|
|
|
+ scripts:
|
|
|
|
+ create-extensions.sql: |
|
|
|
|
+ CREATE EXTENSION cube;
|
|
|
|
+ CREATE EXTENSION earthdistance;
|
|
|
|
+ CREATE EXTENSION vectors;
|
|
|
|
+
|
|
|
|
+redis:
|
|
|
|
+ enabled: true
|
|
|
|
+ architecture: standalone
|
|
|
|
+ auth:
|
|
|
|
+ enabled: false
|
|
|
|
+ master:
|
|
|
|
+ persistence:
|
|
|
|
+ size: 8Gi
|
|
|
|
+ storageClass: ceph-block
|
|
|
|
+
|
|
|
|
+# Immich components
|
|
|
|
+
|
|
|
|
+server:
|
|
|
|
+ enabled: true
|
|
|
|
+ image:
|
|
|
|
+ repository: ghcr.io/immich-app/immich-server
|
|
|
|
+ pullPolicy: IfNotPresent
|
|
|
|
+
|
|
|
|
+ ingress:
|
|
|
|
+ main:
|
|
|
|
+ enabled: false
|
|
|
|
+ annotations:
|
|
|
|
+ # proxy-body-size is set to 0 to remove the body limit on file uploads
|
|
|
|
+ nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
|
|
+ hosts:
|
|
|
|
+ - host: immich.local
|
|
|
|
+ paths:
|
|
|
|
+ - path: "/"
|
|
|
|
+ tls: []
|
|
|
|
+
|
|
|
|
+microservices:
|
|
|
|
+ enabled: true
|
|
|
|
+ image:
|
|
|
|
+ repository: ghcr.io/immich-app/immich-server
|
|
|
|
+ pullPolicy: IfNotPresent
|
|
|
|
+
|
|
|
|
+machine-learning:
|
|
|
|
+ enabled: true
|
|
|
|
+ image:
|
|
|
|
+ repository: ghcr.io/immich-app/immich-machine-learning
|
|
|
|
+ pullPolicy: IfNotPresent
|
|
|
|
+ env:
|
|
|
|
+ TRANSFORMERS_CACHE: /cache
|
|
|
|
+ persistence:
|
|
|
|
+ cache:
|
|
|
|
+ enabled: true
|
|
|
|
+ size: 10Gi
|
|
|
|
+ # Optional: Set this to pvc to avoid downloading the ML models every start.
|
|
|
|
+ type: pvc
|
|
|
|
+ accessMode: ReadWriteOnce
|
|
|
|
+ storageClass: ceph-block
|