NE Fife, in the catchment of either Madras (st Andrews), or Bell Baxter (Cuper, Fife), high schools would be my advice if you don’t want to live in Dundee... high school is will happen faster than you think, believe me, so it’s best to consider that too, before deciding on which primary school!
Commuting time to work in Dundee can be much shorter over the bridge from Fife, than from areas outside Dundee in tayside/Angus/Perthshire similar distances away.
I’d personally avoid Tayport PS, mostly because it’s the worst local school in terms of it’s outdoor space, and the village is a nightmare to drive through (or park in).
Schools such as Newport, Wormit, Balmerino, and a little further afield, Dunbog, Balmulo (there are more , that’s just a selection!) all have beautiful settings will large playing fields and outdoor spaces which are used a lot for “outdoor learning”.