Barlus cameras can be pretty good, but they're expensive. Poe, local web interface, onvif, up to ip68, some with night vision and built in ir+white LEDs.
I think the management interface can reach out to their server but you can block that.
I use one in my indoor pond to run a daily Livestream and it's quite nice.
But afaik no storage built in you'd have to manage that with some software on your own.