You got some good info for Halifax.
Halifax cruise site
But this one has a great aerial photo of the port - click on cruise to see it:
Halifax port site
For Quebec city, although you have seen a lot of the world, it is an old fort with a wall around the old city.
Quebec city tourism
Click on #4 and you will see where you dock vs the old city. The old port area is lower than the city and you can see the wall above. There is a historic attraction - the ruins above. I did not go down but there is the funicular to get you up and down - not sure where it is in relation to the dock and going up.
Love the charm of Old Quebec.