I designed a rack mount for my Minisforum UN1265 to attach it to my DAP Audio DAP 2U rackframe (https://amzn.eu/d/9mziXZl).
This mount should also be compatible with the UN1245 (untested but both seems to have the same chassis)
You will need the original Vesa mount/screws which are included with the Mini-PC