That's the bad news. The good news is that there's a simple fix. First, we can stop buying more food than we're going to eat. Second, we can turn what scraps we can't eat into nutrient-rich compost. This compost has the ability to improve soil structure for growing plants; plus, it eliminates the need for chemical fertilizers at the same time it enhances moisture retention, reducing the amount of watering needed. It's a win, win, win situation.
Composting done poorly can be a smelly nuisance. Done correctly, you'll produce nutrient-rich humus with little effort. Here's our not-perfect-by-any-means-but-good-enough system for turning food and yard "waste" into "black gold":
What else? Don't put meat, cheese or oil in your pile. They don't decompose fast enough and they can smell, attracting animals. We occasionally have a raccoon, opossum, deer or bunny forage for food we've left uncovered, but we can prevent that by burying fresh food scraps more thoroughly.
Time is the other requirement to create compost. The smaller the pieces you put in your pile and the hotter it gets, the faster the process. We usually throw in whole leaves; if we shredded the leaves before tossing them in our pile, we'd generate compost faster.