Mattermost

Open source, on-premises, Slack alternative