Note that "The Gosport Tragedy" was to be sung to "Peggy's gone over the sea [with the soldier]". An ABC of the tune is B367 among the broadside ballad tunes on my website.
The ballad of Peggy and the soldier is ZN1517 in my broadside ballad index. Traditional versions are Laws P13 (in DT). The Roud # is 907 and English and Scots versions, as well as American ones are listed in his folk song Index. "Peggy and the soldier" is one of the tunes cited for the broadside ballad version of "The Nightingale's Song", broadside ballad = ZN277 (given in Scarce Songs 1 on my website), and as Laws P14 there are 4 versions in DT of this latter song.