This has probably been suggested multiple times, but I think it would be a great addition to have a new building which could be used specifically for designating troops to guard your own village. It could be called a guard house/tower and be upgraded to hold more troops.
OR
You could limit clan castle troops to being exclusively for attacks, and then let players request troops for either building separately based on what they needed.

