Tilling our own soil: Preparing a surge capacity for food

The system of getting nearly all our food from industrial agriculture located elsewhere works as long as petrochemicals are cheap. If the world reaches the “peak” of petroleum (and later of natural gas) production, the price of food would most certainly increase If we take this contingency of expensive food seriously, what is to be done?