Communism, Socialism and Capitalism are economic terms, not political.
You can even have a democratic communist society if you so wanted.
However... What constitutes a free country some may ask?
That's simple, there are 5 fundamental freedoms that make up a free society, which conversely such freedoms are restrictive in some nations; even in the USA.
The Freedoms are:
1) Speech. - Basically you are allowed to speak or write whatever you desire about any topic. - A Good example was me telling the Prime Minister of Australia "John Howard" years back that he was a wanker in person and getting in no trouble for it.
2) Association. - Basically, the freedom to join any organization or group, trade union or political party without consequence.
3) Assembly. - The freedom to meet people in a public or private place for political or social purposes, provided you're not trespassing or acting violently, examples would be a protest.
4) Religion. - The freedom to follow any religion.
5) Movement. - Freedom to move between all states and territory's or even leave and enter the country at any time or movement between public areas.
If you don't have those, then it's not a free country, regardless of the social/economic/political systems in place, any country could indeed be considered free. (Even China.)
As for what I think of the Military... To me they are vital to stop aggressors and keep a country peaceful.
The military however do allot more than just wage war...
The Military will help protect the citizens from natural disasters and help with the clean-up afterwards.
It also provides allot of jobs for a country which can help an economy.
The Military have been known to influence the creation of allot of technologies that even citizens today use, for instance... Explosives in mining operations, body Armour to protect bike riders and the police, Gas masks to protect from chemicals/vapors that may be leaked from an accident from something like a petrol station spill etc'. The list goes on.