blob: f3fec2396535716505dbd1fd5ce1ea398c03b85f [file] [log] [blame]
Giorgi Lekveishvili8ef64552025-07-11 13:45:39 +04001## This chart relies on the common library chart from bjw-s
2## You can find it at https://github.com/bjw-s-labs/helm-charts/tree/923ef40a39520979c98f354ea23963ee54f54433/charts/library/common
3## Refer there for more detail about the supported values
4
5# These entries are shared between all the Immich components
6
7env:
8 REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}'
9 DB_HOSTNAME: "{{ .Release.Name }}-postgresql"
10 DB_USERNAME: "{{ .Values.postgresql.global.postgresql.auth.username }}"
11 DB_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}"
12 # -- 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
13 DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}"
14 IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}'
15
16image:
17 tag: v1.119.0
18
19immich:
20 metrics:
21 # Enabling this will create the service monitors needed to monitor immich with the prometheus operator
22 enabled: false
23 persistence:
24 # Main data store for all photos shared between different components.
25 library:
26 # Automatically creating the library volume is not supported by this chart
27 # You have to specify an existing PVC to use
28 existingClaim: data
29 # configuration is immich-config.json converted to yaml
30 # ref: https://immich.app/docs/install/config-file/
31 #
32 configuration: {}
33 # trash:
34 # enabled: false
35 # days: 30
36 # storageTemplate:
37 # enabled: true
38 # template: "{{y}}/{{y}}-{{MM}}-{{dd}}/{{filename}}"
39 existingConfiguration: ""
40
41# Dependencies
42
43# DEPRECATED
44# The postgres subchart is deprecated and will be removed in chart version 0.10.0
45# See https://github.com/immich-app/immich-charts/issues/149 for more detail.
46postgresql:
47 enabled: true
48 image:
49 repository: tensorchord/pgvecto-rs
50 tag: pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
51 global:
52 postgresql:
53 auth:
54 username: immich
55 database: immich
56 password: immich
57 primary:
58 containerSecurityContext:
59 readOnlyRootFilesystem: false
60 initdb:
61 scripts:
62 create-extensions.sql: |
63 CREATE EXTENSION cube;
64 CREATE EXTENSION earthdistance;
65 CREATE EXTENSION vectors;
66
67redis:
68 enabled: true
69 architecture: standalone
70 auth:
71 enabled: false
72
73# Immich components
74
75server:
76 enabled: true
77 image:
78 repository: ghcr.io/immich-app/immich-server
79 pullPolicy: IfNotPresent
80 ingress:
81 main:
82 enabled: false
83 annotations:
84 # proxy-body-size is set to 0 to remove the body limit on file uploads
85 nginx.ingress.kubernetes.io/proxy-body-size: "0"
86 hosts:
87 - host: immich.local
88 paths:
89 - path: "/"
90 tls: []
91
92machine-learning:
93 enabled: true
94 image:
95 repository: ghcr.io/immich-app/immich-machine-learning
96 pullPolicy: IfNotPresent
97 env:
98 TRANSFORMERS_CACHE: /cache
99 persistence:
100 cache:
101 enabled: true
102 size: 10Gi
103 # Optional: Set this to pvc to avoid downloading the ML models every start.
104 type: emptyDir
105 accessMode: ReadWriteMany
106 # storageClass: your-class
107
108useDeprecatedPostgresChart: true