Check out this DIY bucket build method I posted about a few days ago, and make sure you are stirring it regularly to aerate it. With the small buckets, mold is a big factor that the stirring and the aforementioned bucket build should help deter. Also, if you are adding a lot of wet items, a bit of sawdust or dried leaves can help balance that humidity out.
Try it again and let me know how it goes!!