I notice in your photo that you have Y0 at the back of the printer. Typically the 0,0 point would be at the front left of the printer so that you have a right hand coordinate system to match the slicer coordinate system. The 0,0 point could also be in the middle, it doesn't really matter. The important thing is that when looking directly at it from the front the X+ goes to the right, Y+ goes to the back.
Do you notice that any prints are mirrored or rotated such that they don't match the slicer preview?
left_right_hand.gif dbot axis.png Cartesian-coordinate-system.png
So the way you have things is a little non-standard, but I also notice you have a dbot and I think the dbot as built stock was a little non-standard.
If you want to make the changes to return to a standard right hand system you would need to change the following:
The Y endstop would become Ymax rather than Ymin. (M574 Y2)
The homing move directions would have to change accordingly.
And then your motor directions would have to be tested according to that previous link to ensure that the corexy movements were correct.
You can also take a look at these posts which go through the same thing for corexy setup
https://forum.duet3d.com/topic/14971/vcore-pro-core-xy-the-x-and-y-axis-home-issue/4
https://forum.duet3d.com/topic/12676/mirrored-x-axis/9
You can also see my own config for my dbot for comparison: homeall.g config.g