Performance greatly improves by running it off SSDs. I run it on Alwyzon, Contabo and raspberry pi 4s.
Anything under 10 concurrent users (at the same time) should be fine on 4 GB Ram and 2 cores.
If you start implementing Onlydocs/collabora and add tesseract you might want more.