I read about that case years ago, and as a result started composting my biomass garbage, especially the orange peel! I don't generate enough to make a difference, but the local fauna eats most of it. A couple of onions have sprouted in the pile.
In the end our local council started collecting food waste which was a lot less hassle for us and we could include bones. We get to collect free compost once a year.
Any tips?
Alternately, a "hot" compost setup generally is not amiable to rodents or other mammals.
Prior to that we had a bin with a door at the bottom but the rodents always gnawed away at the door and got in.