I've literally grown up with dogs all my life. Now I think I might have an allergy, why? Could stroking a dog in the street for 1 minute cause symptom

Yes. Although at one time allergy was considered to develop mostly in childhood, now we know better. (In fact, I had always argued against this type of myth for decades). Depending on the amount of allergen exposure, you can develop symptoms even being just in a dog-owner's house without the dog being present.