It has been defined as loosely as a group of people who live in the same area, or who have similar interests, or as having common identity and characteristics. In its most common use, it involves a set of attributes or conditions that include persons.
Justice is a fundamental attribute of a good community with includes everyone fairly.
A good community has the attributes of justice, long term viability, compassion, and a high value on what can be accomplished together and the quality of our life together. It is even about how we take care of environment in which the community lives. The dominating idea of community tries to define us more than we feel free to wonder out loud about alternatives. Not all communities define themselves the same way. In fact this is what politics is all about.