The capacity of the Alliance fort is determined by the size of the rally of the first player who sends their troops to the fort.
 
To increase this capacity, the first player sending his troops to the fortress must upgrade the combat hall in his base to increase his rally size; afterward, the player needs to withdraw his troops from the alliance fortress and send them again to apply the new size.
Or a different player with a larger rally size can put his troops in the alliance fotress first.