Need advice on optimizing volume bind mounts

Hey folks, between NFS and SSD storage bind mounts in docker compose for various immich storage paths, is it a bad idea to overlay mounts for thumbs and profile to faster storage? I don't think the upstream docker-compose.yml does this, but I just want to make sure I use optimal storage for each area when I migrate this to kubernetes
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /mnt/user/photos/immich:/usr/src/app/upload
      # Override some paths for SSD performance
      - ./upload/thumbs:/usr/src/app/upload/thumbs
      - ./upload/profile:/usr/src/app/upload/profile

It's been a while since I've updated my docker compose so I'm still using the old mount path and not /data (I'm in the process of updating it).
Was this page helpful?