@piggo I solved that very same problem with QNAP TS-251+ with pimped up RAM. I figured I do not have time and energy to fiddle with half-assed home-brewed solutions of mine and this just works. Especially because I am more fond of LXC than Docker and QNAP Container Station gives me that way all the freedom I need to play. Virtualization Station is a bit heavyweight for any of my home purposes.
@piggo That's not the right way to see what this can do for you. Yes, QNAP reimplemented craploads of things and often it has a good quality (backup solutions, VPN/networking mgmt/config/etc), though sometimes not (nextcloud, media stuff, etc.) Applications-wise you shall look at 3rd party packages available for this. Have a peek here: https://www.qnapclub.eu/en. You get anything your heart desires and more. And of course the device runs some custom version of linux and you get shell access too, so you can fix (break?) whatever you need - they just do not advertise it too openly.
@piggo I sound like a QNAP sales rep. Anyhow, for some years I was trying to figure out a home server/storage/... for myself and after wasting zillions of hours on it and considering building an HPC solution myself, I decided to take the plunge on this and I do not regret. For my needs works fine. It's of course not all roses sometimes, but that's OK. After 2+ years of ownership so far I did not regret for a moment.
What I also like is that I have a VPN server (QNAP app) on it and they have Dynamic DNS sorted well, so accessing this from outside of home is super easy. And not speaking yet about they myQnapCloud service which makes it even easier.
I shall stop with this advertisement...