Change the upload folder (but not thumbnails etc)

I have immich running on my server with a nice fast ssd. Ideally I want all the thumbnail and caching stuff on that drive, but have the library folder on another nfs share. I know I can move the whole folder '/usr/src/app/upload' is mapped too, but Ideally I just want to move '/usr/src/app/upload/library' to another mount.

Is this possible? The only way I can think of doing it is mapping like this (which is super brittle):

  • ./uploads/encoded-video: /usr/src/app/upload/encoded-video
  • ./uploads/profile:/usr/src/app/upload/profile
  • ./uploads/thumbs:/usr/src/app/upload/thumbs
  • ./uploads/uploads:/usr/src/app/upload/uploads
  • pictures/immichuploads:/usr/src/app/upload/library

​

(the pictures mount is an nfs shared defined in docker volumes).

There must be a better way to do this!

​

Posted Mar 14, 2024, 1:29 PM UTC

21
Loading comments…