I just use fossil for that as kb, code snippet and documentation tool.
I'm somewhat tempted to use it at work. The idea of having wiki and targeted job/improvement tickets in the same repo as the code is very tempting.
I use gitea to host code which has tickets/wiki/bug-tracking but no forum, no blogging.
I used to use redmine + git which has more than what I wanted.
I wish gitea adds forum and blogging someday.