Strain in two-dimensional (2D) transition metal dichalcogenide (TMD) has led to localized states with exciting optical properties, in particular in view of designing one photon sources. The naturally formed of the MoS2 monolayer deposed on hBN substrate leads to a reduction of the bandgap in the strained region creating a nanobubble. The photogenerated particles are thus confined in the strain-induced potential. Using numerical diagonalization, we simulate the spectra of the confined exciton states, their oscillator strengths and radiative lifetimes. We show that a single state of the confined exciton is optically active, which suggests that the MoS2/hBN nanobubble is a good candidate for the realisation of single-photon sources. Furthermore, the exciton binding energy, oscillator strength and radiative lifetime are enhanced due to the confinement effect.