Mirroring this object gives unwanted results
Make the origin of your object to be any of the edges of an open wall



Press SHIFT+S - Snap

To move the 3d cursor to the selected edge.

CTRL+SHIFT+ALT+C - Origin

To move the origin of the object to the location of the 3D cursor.