I started off with a couple of Chinese WiFi cameras. I needed to hack a perl script to get at its stream; https://gist.github.com/opless/d1effc2eefdf2dfe3b1a6418979bc...
Now I use eBay'd Axis POE cameras dumping continuous video to a samba share, and motion eye to capture a frame every second and video when motion triggered.
All very overkill but worthwhile as it's caught vandals, bike thieves and trespassing landlords.
A pfsense router with haproxy sorts out the SSL website to the docker containers part.