I find the best way to avoid emotional or boredom eating (and kick your depression in the pants) is to get out of the house and/or be productive. And I know it's easier said than done (took me 10 months to find my current job). Find volunteer work to do (nursing home, school, hospital, animal shelter, etc), see if there are any free classes at the library, heck just go to the library and read in the mornings, find a book club online, go hiking, get your first aid certification and babysit (d@mn good money and a good babysitter is always in demand), and definitely make regular plans with friends (they understand you're broke, but will happily take a walk with you or just hang out with a cup of coffee/tea/etc).
I know where you're at, but hang in there! Also, as someone who grew up next to a military base - I met a lot of military spouses and several of my friends married guys in the service. Developing some fufilling hobbies, social networks and coping mechanisms for handling their absence while they're on tour or at work was really helpful.