Historically, the military (essentially the army) was kept separate and apart from the broader society, likely both as a means to control the soldiers but also to keep the uncouth away from polite society. The spin-off on that was they became a self-contained community unto themselves. In more modern times, that translated into things like housing, schooling, messes, rec facilities, health care, etc. The pay sucked but pretty much everything one could need was nearby and either free or heavily subsidized.
In some cases, like cold war radar sites, the 'self-containedness' was of necessity; their locations were dictated by the technology of the day and not always near a community. In others, even where a base or station is in or near an existing community, they tend to be on the outskirts or off to the side, if for no other reason than the footprint they consume.
Once pay started getting improved, the government retreated or reduced a lot of the available services and amenities. I don't know if the military is treated differently but, generally, anything the employer provides that is deemed a subsidy is considered a taxable benefit by the CRA.
One of the ideas I advocate for is for the federal government to use military housing to build model communities. Make them high density, net zero and walkable. This accomplishes a number of goals:
1) It helps military members.
2) It reduces pressure on the local housing markets around bases.
3) It can be built quickly and can bypass provincial and local building and zoning codes. For example, they could build point access blocks.
4) It could provide fantastic examples of quality of life in denser communities. And it would do so, in areas that almost never have examples of such.
I would have thought the LPC under pressure to spend more on defence would pursue a win-win like this. Alas.....
Beyond the fact that I think the government is and would remain a lousy landlord, in many if not most cases, the walkability would be limited to work, which is not a bad thing. Obviously, employment sites would be located on-base, but access 'to the economy' would still be limited. Not many bases have much in the way of grocery or dry goods shopping beyond the Canex and the proximity to commercial establishments would be more by chance. Schools seem to be a decision of the local board. Transit seems dependent on whether the adjacent community has it and is willing to extend it.
I know in the past you have advocated for consolidating our military establishments to larger centres, which might have a positive impact on recruiting, but factors such as land costs and housing cots for those who choose to live on the economy would likely be elevated. Constantly shuttling both personnel and equipment out to training areas where they can do boom-boom stuff would be an added cost.. Obviously, the Navy is rather limited in where it can be.