Yeah I'd also recommend some small dedicated machine that you can leave on 24/7 to do this. There are several of these like umbrel, start9, etc.
You can purchase them, or more fun to build yourself! But yeah, it inevitability gets a bit techy and you will probably expand your IT knowledge in the process. Though umbrel makes it super easy. Step by step instructions here. 🤓
https://github.com/getumbrel/umbrel