Rubi is correct in that the best way to get compost, in quantities is to have a separate pile that you let sit for years.
I do not turn my piles over, I just keep piling on top as it drops.
I do this in both gardens and it will sit for years , 5 is not uncommon, with it being topped off every spring.
The one down South is mostly leaves from the winter covered roses , it is over 4 ft high , if full, and when the sides start to crumblin almost powder like, I will use it as a mulch .
Up North it is not as high a little over 3 ft. if I fill it to the top, as it is made of more components than the South one , leaes, old kitchen scrap and vines, so some years I will scrape off the top one foot and bury it in pit in the soil in the fall with other plant debres (I do not turn it over into the soil but genuinely bury it with at least six inches of soil cover the whole pit I dug out.)
A pit I buried in 2021, was the base for an excellant sweet corn patch this summer, but on both piles I use a compost starter, and also in the bury pits.
Jobe's is my favorite.
Now I was not sure I would have enough leaves for covering the roses, at first, and a friend/neighbor as I wanted the leaves from his lawn when mowed/shredded them, and I said yes, SO, now I have covering a fairly large chunk of my veggie garden leaves from 16 inches to six inches deep.
I will have to move, or pile it some where not being planted or it wil keep the ground wet and cold annoyingly long.
If this spring is warm early I will plant potatoes earlier and use the old compost pile for mulch and put the leaves into the bin.