Unless you are talking about extremely long duration expeditions, you would not need to worry about growing food onboard the ship. Based on my U. S. Army Quartermaster manuals, the following is the amount of space required for rations.
Assuming a ration weighing per day of 5.33 pounds or 160 pounds per month per person, the space required for that would be 8 cubic feet. The ration would supply about 4,000 calories per day, far in excess of that required for sedentary workers, as you would have onboard of a starship, unless they were all exercise fanatics. One Traveller dTon of volume would have sufficient space for rations for 60 persons for one month. Each person would also need about 3 cubic feet of refrigerated space per month, and a Traveller dTon would supply sufficient refrigerated space for 160 persons for one month. Approximately 4 Traveller dTons of space could easily hold enough food for 180 persons for one month, or 180 person-months of food.
If you take the average Free Trader, with a crew of 4, add 2 gunners, and 6 passengers, you have 12 persons to provide food for. Being quite conservative, you want to have sufficient food for 2 months onboard the ship. Storage space for non-perishable food would equate to 12 persons X 8 cubic feet per month per person X 2 months, or 192 cubic feet of space. You would need 3 cubic feet of refrigerated space per month per person, or 72 cubic feet of space. The total space required would be 264 cubic feet. A Traveller Displacement ton is equal to 476.748 cubic feet (13.5 cubic meters) or 494.4 cubic feet (14 cubic meters). Slightly over one-half of a Traveller dTon would supply sufficient room for food for 12 persons for 2 months, with a pretty comfortable cushion on top of that with the 4,000 calorie per day ration. Supplies for a year for 12 persons would require 2.5 Traveller dTons for non-perishable food, and 1 Traveller dTon for refrigerated space, for a total of 3.5 Traveller dTons.