I'm looking to buy a couple of ONVIF/RTSP IP cameras to hook up as part of a home security system and could use some help with the programming side of things. I've looked around a couple of Youtube guides but they all seem to skip over some minor but important details needed to install and run an open source NVR.
Could someone point me out to an online guide that's easy to follow? I'm still very much a beginner with Linux and don't know much about how to set up Docker or HomeLab as part of the NVR's installation process. I also need to remotely access my video feeds when not at home and would like to ask for some guidance on how one can go about setting that up on both the NVR and phone side.
Below is a diagram of the planned setup. Any information would be appreciated!

Frigate running on any box that can run docker and use a coral, hailo, or other chip for object detection. Read their recommendations for hardware. https://docs.frigate.video/frigate/hardware
I’ve been using this for a few years with amcrest cameras and ancient NAS hardware and it works beautifully
Also use frigate and amcrest. Works well! Cameras are only $50 a piece. Running on an old Optiplex. VLANed off from the internet.