image: repository: ghcr.io/immich-app/immich-server tag: v1.131.1@sha256:d17ccd6b94fbef1057147d57813a0c508e308b6fe0330709e2c7b87c12d662ae pullPolicy: IfNotPresent mlImage: repository: ghcr.io/immich-app/immich-machine-learning pullPolicy: IfNotPresent tag: v1.126.1@sha256:0989db1266d91e553375289571b989d49e10690d466802fcf23326f16b747d4c mlCudaImage: repository: ghcr.io/immich-app/immich-machine-learning pullPolicy: IfNotPresent tag: v1.126.1-cuda@sha256:a1d7eb9bc5acd73e1de674e6655b934f9c89116eb76af41c41b65053ddcf4bff mlOpenvinoImage: repository: ghcr.io/immich-app/immich-machine-learning pullPolicy: IfNotPresent tag: v1.126.1-openvino@sha256:0eab7904f965ff76192c7679a00ad87527224d285b9ca4fec30cba0c401ec5e1 securityContext: container: readOnlyRootFilesystem: false runAsNonRoot: false runAsUser: 0 runAsGroup: 0 immich: enable_ml: true mlImageType: mlImage log_level: log service: main: # Main service targets the server targetSelector: main ports: main: port: 10323 protocol: http targetSelector: main microservices: enabled: true type: ClusterIP targetSelector: microservices ports: microservices: enabled: true primary: true port: 10004 protocol: http targetSelector: microservices machinelearning: enabled: true type: ClusterIP targetSelector: machinelearning ports: machinelearning: enabled: true primary: true port: 10003 protocol: http targetSelector: machinelearning persistence: mlcache: enabled: true type: emptyDir targetSelector: machinelearning: machinelearning: mountPath: /mlcache microcache: enabled: true type: emptyDir targetSelector: microservices: microservices: mountPath: /microcache library: enabled: true mountPath: /usr/src/app/upload/library targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} uploads: enabled: true mountPath: /usr/src/app/upload/upload targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} backups: enabled: true mountPath: /usr/src/app/upload/backups targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} thumbs: enabled: true mountPath: /usr/src/app/upload/thumbs targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} profile: enabled: true mountPath: /usr/src/app/upload/profile targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} video: enabled: true mountPath: /usr/src/app/upload/encoded-video targetSelector: # Main pod/container is server main: main: {} microservices: microservices: {} cnpg: main: enabled: true user: immich database: immich type: vectors cluster: initdb: postInitApplicationSQL: - CREATE EXTENSION IF NOT EXISTS cube; - CREATE EXTENSION IF NOT EXISTS earthdistance; - CREATE SCHEMA IF NOT EXISTS vectors; - ALTER DATABASE immich SET search_path TO "immich", public, vectors; - SET search_path TO "immich", public, vectors; - GRANT SELECT ON TABLE pg_vector_index_stat TO PUBLIC; - ALTER SCHEMA vectors OWNER TO immich; redis: enabled: true includeCommon: true redisUsername: default portal: open: enabled: true ingress: main: integrations: homepage: widget: version: 2