If you live in a developed country, chances are you already own a freezer.
To make sure your food waste goes in the compost, keep a small bin in your freezer (goodbye flies and bad smells).
You can also carry a small bin in your bag for your daily food waste (next-level commitment).