I am still trying to find all the triggers for mine as there seems to be several all combining together. One is socialising, another is certain types of light (supermarket, strobe, bright sunlight as I am sensitive to all those), not getting enough sleep, hormones (monthly migraine) and food also plays a role I think but I do not know exactly which ones. The most likely culprits seem to be aspartame in diet sodas, chocolate (particularly dark), soya and wheat (although that can upset my gut more than my head sometimes causing IBS type stuff). I will have to try some kind of elimination diet I think.
I was tested for celiac (just a blood test, no biopsy which is the most accurate way of testing) as I have a brother with it but it came back normal, although I had stopped eating gluten at the time. I still think my gut doesn't like wheat though cause it's been particularly upset since I went back on it and my migraines have been more frequent. I will probably go back paleo again (grain free, dairy free, soya free....) and see what happens.