公德心 mostly refers to 對公眾利益的尊重 (respect/ mindfulness for the public interest).
For example, not littering, not damage public property, not making noise in the early morning are all for the public interest
The public interest is also your interest -- you are a part of the public.