I just purchased two 48v SOK rack batteries, the user manual says any orientation except upside down.
Copied from user manual:
Battery Orientation – Stationary
In a stationary application, the SOK 48v battery can be installed in any orientation with the exception of upside down, as viewed from the front panel. This means installation on-end, sideways or even face down would be perfectly acceptable.