There are two types of Battery boxes.
One is for just holding a battery in place but has no real provisions for dealing with battery gases/ This is the type I suspect you have.
It would be common to place this outside as any battery gasing will gas outside instead of inside under the bench if mischarging occurs.
The other type is a sealed and vented box that brings fresh air in and through the box and then exhausts it outside.
These would be more difficult to install as they require both intake annd exhaust venting but they are also safer for the same reason.
If you will be using standard wet cell or flooded batteries then the chance of gassing are greater and I would try to mount the battery outside.
If you are using Gel or AGM battery and have the correct charger to handle them then your gasing should be very minimal and you could mount it inside in the standard box you bought.
A lot of the potential for battery gassing depends upon the type and quality of the charger and the suitability of the battery to the charger.
If you have a good charger then overcharging should be minimal and that is where the gassing comes from.
I hope that helps.