My batteries live outside, under/behind the solar panels.
The battery box is on one side of a common wall with the power center and inverter on the other side like a 'dP' with the a common long stroke.
The battery box side is built big enough to house a forklift battery or 8 L-16's or 12 golf cart batteries. Just 4 golf cart batteries right now. The Power center side is cantilevered out standing a bit over 7 feet tall down to about 3 feet, about 16" deep.
I do place some 2" blue board insulation around the batteries in Winter months, the charging does warm the batteries. I use flooded lead acid as best bang for the buck.
Having the inverter and power center on the other side of a sheet of plywood makes running wires and so much easier. Having the battery box/PC and inverter at the panels make wire runs short other than the higher voltage AC making for smaller gauge wires.
I use a Prosine inverter which is designed to handle the high temp and semi outdoor nature of the set up better than some inverters, They are often used on boats.
It regularly gets to -20c here in Missouri, I have yet to freeze a battery. I can't recall and am too lazy to search, but they do loss capacity as they get colder maybe 10% at 0c 30% at -20c (pulled these figure out of thin air, just my weak memory)