Are you having trouble getting your needed gold through raids? One could usually get enough gold for their town upgrades/troop training just by consistently raiding for gold. The key here is if you levelled up both your troops and heroes to be competitive and successful in your raids. What level are your heroes and troops?
Your troops are not that bad. Do you do paid raids? You could easily earn 50k-80k gold/raid, sometimes even 100k, multiply that to 10 raids a day and you could earn around 500k-800k gold, enough for your town upgrades. You just have to be strategic about your raids (choose your opponents wisely: more lootable gold, higher probability of winning, etc.) and just be patient about it.
The icon above the dungeon icon when you click the Battle button. You have to pay a certain amount of gold (but not too much), and you could choose the base you'd like to raid. Choose a base with lots of lootable gold and one that you could confidently raid successfully.