Magnetic PCB holder using magnets like this: https://amzn.to/3EN2hHn (affiliated link). Also needs at least a 20 to 30mm piece of M8 all-thread.