Welcome to the forum
Several issues going on with your plants --
Rosemary, I'm pretty sure is due to sucking insects. Try washing the foliage 3 times a week with hard sprays of water. Rosemary needles can take quite a bit. TRY to do this without constantly soaking the soil though. Maybe cover the pot and soil surface with plastic bag or something.
Potato looks like septoria -- maybe splashed up from the ground, or spores can also come off the side of the building since it's a fungal infection. Is it all over the plant or just lower leaves? If just lower leaves, you can remove the diseased leaves. A bit concerned that that container looks too small. How did you plant? Cut up seed potatoes? -- ideally only one little chunk= 1 plant in that one pot.
Especially since we are talking containers, most likely cause of deformed stunted strawberry fruits is boron deficiency. But moldy is caused by grey mold/botrytis -- a different issue. Grey mold can occur on perfectly beautiful berries -- So disappointing.
Personally, I would thoroughly spray the lot with diluted milk for starters. (After removing any infected leaves, fruits, etc.) The rosemary won't mind either. Do this every other week.