Pretty simple build. Basically hts an RPi used to take pictures for hours underwater. The author had to custom order the glass on the front, but everything else is pretty cheap stuff.
https://hackaday.io/project/21222-pipecam-low-cost-underwater-camera