The rule for a successful veggie garden is 6 or more hours of direct sunlight, and I'd follow that.
Remember as the summer wears on, the angle of the sun will be higher, and you may get even more light in there.
To avoid mold, always look for a spot that gets nice early morning sun, to dry off the dew of the night before.