Bucket of compost in the grow tent

I’m trying to increase the c02 in my small ‘grow tent’, I’ve already added sugar, yeast, and water but I want to add a lil more. I got a small batch comparing in a small bucket, can I leave it composting in the grow tent to increase c02?

CO2 generated with yeast and sugar needs to be replaced every day or 2. The mixture turns into vinegar after too long.

I’m not sure what you are referring to when you say “compost.”

Mixed together some soil, potato peels, banana peels, eggshells, coffee grounds, potato soaked water, bits of cardboard, and tea bag