A compact single-polarization fiber laser with fiber Bragg gratings inscripted in a polarization-maintaining erbium-doped germanosilicate fiber is demonstrated experimentally. The single-wavelength and singlepolarization regime of our studied laser is achieved by applying a radial stress upon one of two gratings and stretching the other one axially to adjust the reflection peak match. Two single-wavelength and singlepolarization lasing lines are realized respectively with fine power stability.