Olive trees love a sunny, sheltered well drained site; a south facing position is ideal, however it’s not essential as long as there is lots of sunlight and the soil is well drained. A well drained soil can be achieved by digging in lots of grit before planting. Wind is not a problem for olives - they can even cope in a seaside location with salt laden winds. The same conditions apply for container grown olives, potting up with a mixture of John Innes No.3 and multipurpose compost, ideally with some added grit for drainage.
If planted into a container make sure the tree is well watered during the growing season as the roots cannot search for water like they do in the ground, especially so if in terracotta as this bakes the soil in summer. In the first year of planting, olive trees in the ground need to be kept well watered too, however once established they can tolerate some small periods of drought but prefer to be watered occasionally.