Four units of archers, if available, and two units of some kind of spearmen. With battles on easy, that's usually enough to hold a city against AI attacks.