you control your pH the same way you would in any outdoor garden. Lime is a good pH up, sulfur for a pH down. I grow everything organically, and test about once a month or if I see a problem arrizing. If it is off I top dress with one of the two items mentioned and water them in.
Slowly, your ph issue will get fixed.
I don't grow cannabis outside, but with my veggies and stuff I usually try and get all of this right months before planting. It's not always able to be done, but it is the preferred method.