The question comes down to how far out do you want to be able to IDENTIFY them.
Take a look at this chart to help explain. To identify someone with the 2.8mm lens that is a popular camera choice, someone would have to be within 13 feet of the camera. Realistically, it is more like 10 feet or less.
Personally I have found the distances to be on the shorter end of this chart, but I also like better details and that comes from their face being bigger on the screen.
The 2.8mm is the right choice if you want within 10 feet or so of the door. The 6mm wouldn't be the right choice at the door as the focus sweetspot is more like 20-25 feet out.
Any chance you can lower the camera any? A 2.8 at that height will be tops of heads and hoodies.
Also, test it day and night before you install so that you can see if those lights will be an issue. If your budget allows, many of us recommend a varifocal so you can dial it in to the area you want to provide coverage for.