I made a pi camera mount that lets you mount your camera to your Enclosure. I put some magnets into the base and back piece. I used 4 Magnets diameter below 8mm and with a hight below 7mm and a Pi 5mp camera. In case you dont want to use magnets a made a second base so you can just use some double sided tape. And in case you want to use your own magnets I put in the stl files without the cutout for the magnet so you can use the new prusa slicer or meshmixer to make the cutout you need. Here is a video how to do it ^^.
The author hasn't provided the model origin yet.