Hi Emula, I have depression and anxiety too. I understand how difficult it can be to lose weight while dealing with these issues. Especially on days when it feels like it takes all of your strength just to make it through the day. I have recently re-started therapy, after a particularly rough year with two deaths of close loved ones in a two month time span and it is helping so much just to talk to someone. If you have the ability, I really recommend therapy as well as possibly seeing a psychiatrist for medication. I am now on an anti-depressant, and an anti-anxiety medication and they have helped tremendously. I know that you want to lose weight, but getting your depression and anxiety to a more manageable place first will really help you with your weight loss efforts.
A few things that my therapist recommended that are helping me are journaling, positive self-talk, and self-care. I think when you are in that dark space just trying to take care of yourself in small ways can be helpful. Taking a long relaxing bath, watching a movie you love, or whatever makes you happy can help. My dog can usually cheer me up at least a bit.
When you are feeling like you want to binge, maybe just take a 5 minute break and write down what you are feeling at that time. If you can see what your patterns are, you can more easily break them. Just try to start in small ways to change your patterns.
Also remember that willpower is a finite resource. You only have so much and when we are depressed it takes so much of our willpower to just try to function a work, school, home that we have none left for dieting. Restricting calories requires willpower that you are already drained of. Getting help for your depression will enable you to have more willpower, well it did for me. I wish you all the best and know that things will get better.