I tried this and the server crashed a ton and was unstable; I used their official deployment guides to a DigitalOcean VPS. Nuked the VPS and stuck with Slack.
I'll probably give Zulip a try before I go back to Mattermost.
I can say plenty of bad things about Mattermost, but it's been completely stable on my cheapo Digitalocean VPS, running night and day for at least three and a half years.