Immich library location

Hi, I have a 512gb O/S drive and then 4 x 2tb drives in a Raid 5 array for my storage. I wish to install Immich on ZimaOS but want the main photo library to be on the Raid 5 storage. How can I achieve this please?

I couldn’t figure this issue out so I’ve installed photoprism and managed to get the library installed onto the storage drives. I haven’t had time to play around with the app yet but hopefully it will work as good as Immich.