Air compresor outside OK?

Here is how I did mine, Compressor outside 5HP 80 gal, 230 V 1PH switch inside shop next to panel due to prior planning. Works good year around.