Out of curiosity, have you looked at Mattermost? How does it compare? About three years ago when open source Slack alternatives were starting to hit, Mattermost and Rocket.Chat were the top options. GitLab even ended up bundling Mattermost with their Omnibus installer (and were going to bundle Rocket.Chat as well, had they made it possible to support Postgres, but I don't think that's the plan any longer).
And that bundling code inside a mysql container felt like it fell well short of the simple rc setup of db+app via docker compose...
https://github.com/mattermost/mattermost-docker-preview/blob...