Modified @pcgeekesq_2498228 's mount to use M3x8mm screws and nuts since I didn't have any magnets on hand. This version will require you to drill 2 small holes on the metal brace that the enclosure door hinges attaches to. I also added two small holes to the left of the camera to allow me to secure the wire with a zip tie.
Images shown are of the bed at max height and at around 200mm.
The author remixed this model.
Converted to M3 Nut holders