Well, I can't speak to the zucchini but I have grown tomatoes and peppers in my basement for a few years and the NEED a 10+ gal pot. You can grow them in a 5 gal, but you're just starving the plant and a 10-15gal is really ideal, 15 being the correct choice
So, that being said, tomatoes grow...