immich-app / immich-charts

Helm chart implementation of Immich
https://immich.app
GNU Affero General Public License v3.0
117 stars 49 forks source link

Support providing multiple volumes #70

Closed ekulno closed 5 months ago

ekulno commented 7 months ago

Support providing multiple volumes, instead of just a single one as is currently the case.

Use cases:

Both of these use cases apply to me. This blocks me from using Immich.

hiteshnayak305 commented 5 months ago

@bo0tzz can we use extra volumes ans external library to achieve this?

bo0tzz commented 5 months ago

It's should already be possible to provide extra volumes, eg

immich:
  persistence:
    library:
      existingClaim: library-claim
(...)
server:
  persistence:
    external:
      external:
        enabled: true
        existingClaim: external-claim
        readOnly: true
microservices:
  persistence:
    external:
      external:
        enabled: true
        existingClaim: external-claim
        readOnly: true
djjudas21 commented 5 months ago

The external libraries wouldn't work in your example, I had to remove the double-indented external block. This worked for me:

server:
  persistence:
    external:
      enabled: true
      existingClaim: external-claim
      readOnly: true
microservices:
  persistence:
    external:
      enabled: true
      existingClaim: external-claim
      readOnly: true