If I was you I would go with a custom build. You will need a PC case, a motherboard, some ram, plug in your HDDs and SSDs, maybe throw in a Nvidia graphics card for transcoding.
On the OS side I would recommend to look into something like unraid, it would allow you to run the arrs in docker.