I have had gout once so i feel for you. Are you drinking enough water. I think dehydration contributes to both gout and insomnia.
Also I know it sounds obvious but are you drinking fizzy drinks , coffee etc within a couple of hrs of bed.
Also are you eating enough calories? When my husband hasn't he wakes up hungry during the night.