A theoretical investigation has been carried out on the propagation of the ion-acoustic (IA) waves in a relativistic degenerate plasma containing relativistic degenerate electron and positron fluids in the presence of inertial non-relativistic light ion fluid. The Korteweg-de Vries (K-dV), modified K-dV (mK-dV), and mixed mK-dV (mmK-dV) equations are derived by adopting the reductive perturbation method. In order to analyze the basic features (phase speed, amplitude, width, etc.) of the IA solitary waves (SWs), the SWs solutions of the K-dV, mK-dV, and mmK-dV are numerically analyzed. It is found that the degenerate pressure, inclusion of the new phenomena like the Fermi temperatures and quantum mechanical effects (arising due to the quantum diffraction) of both electrons and positrons, number densities, etc., of the plasma species remarkably change the basic characteristics of the IA SWs which are found to be formed either with positive or negative potential. The implication of our results in explaining different nonlinear phenomena in astrophysical compact objects, e.g., white dwarfs, neutron stars, etc., and laboratory plasmas like intense laser-solid matter interaction experiments, etc., are mentioned.