Hydrodynamics of the non-relativistic compressible fluid in the curved spacetime is derived using the generalized framework of the stochastic variational method (SVM) for continuum medium. The fluid-stress tensor of the resultant equation becomes asymmetric for the exchange of the indices, differently from the standard Euclidean one. Its incompressible limit suggests that the viscous term should be represented with the Bochner Laplacian. Moreover the modified Navier-Stokes-Fourier (NSF) equation proposed by Brenner can be considered even in the curved spacetime. To confirm the compatibility with the symmetry principle, SVM is applied to the gaugeinvariant Lagrangian of a charged compressible fluid and then the Lorentz force is reproduced as the interaction between the Abelian gauge fields and the viscous charged fluid.