Second what @BeagleZ says, you can do it in a 3gal (I’m doing it right now) but you e gotta really be paying attention and have stuff on hand to supplement nutrients if needed, 5 gal and up you have a little more of a buffer and room for error
Edit: @minitiger knows his shit too and has been coaching me emotionally through the run I’ve got in 3 gals now