Storing gasoline is dangerous and difficult. Proper grounding of the drums and during transfer is important, static electricity can easily cause a spark. It will spoil quickly if there is alcohol in it like most pump gas today.
Not going to mention zoning and fire code laws, the admin doesn’t follow any laws, so they are all irrelevant today.
BTW, propane stores easily and has an unlimited shelf life, lots of large tanks available for storage that are intended to be left out in the weather.
I had a large farm and had two 500 gallon tanks. One for off-road diesel, and one for gasoline. Each had a hand crank dispensing hose.
My insurance company made me remove them. They also made me remove my wood fired boiler which heated my home from inside the garage. It had to be at least 100' from the house.