We use confluence for internal documentation that we wouldnt want public. Can that be done with Github or is your confluence used for public documentation?
Phabricator is a reasonable alternative for tasks, repos, CI, and a simple wiki. Not as polished on the wiki side as confluence but overall a good free alternative to Atlassian.