OK this while are is not that complex but I imagine you will want a full picture so I'll do a mini guide when I get everything together
So in the classic era we can see the below
+3 for the capital while +2 for walls!
+2 for each district as expected, well spotted!
+x for troops being garrisoned in there... I'll check out other eras.
So walls only give +2 defencebut they do allow you to shoot back ... and
they have 50 HP
And it also reduces attacks by the looks of things but that bit is suposition based on expected damage currently
so when you settle your first city in future and it shows a defence of 13
And your second only shows a defence of 10, you know why
I highly suspect era has something to do with Base strength
Hopefully you can appreciate there is a lot to check out but that should give some basic answer.
Gonna check if base increases with era next
Hopefully this is helping
@JaqenHahaghar
... and
@greygamer... tile improvements do not help apart from districts as you said,,, but feel free to keep looting for greed.