Personally, I use a small extra container with a well-closing lid and a handle for food waste like fruit and vegetable peels, meat chunks I don't want to eat, etc., about 7 litres of volume. Because this small container becomes full quite fast, I have to regularly empty it into the big bin (biological waste goes into a separate container where I live) outside my house. Something like this:
This reduces the amount of smell that can develop, plus the lid usually stops pests like fruit flies from multiplying (not 100%, but it helps). After emptying this container, I wash it out with hot water and a bit of dish soap to get rid of smells and sticky chunks. This remainder goes down the drain easily. You could also line this bucket with a biodegradable plastic bag if your municipality does not have big bins for biological waste or you get rid of your waste differently.