Self-host Mattermost
Team chatdeployed & timed by usprices checked · Jul 2026
A polished, Slack-style team chat you fully own — channels, threads, DMs, integrations, and a solid mobile app. The go-to self-hosted Slack replacement for teams that want their messages on their own server.
Slack / yr$96
Self-hosted / yr~$55
You keep$41/yr
Key facts
CategoryTeam chat
LicenseAGPL-3.0
StackGo, React, PostgreSQL
Min RAM2048 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# Mattermost — official compose (app + PostgreSQL)
git clone https://github.com/mattermost/docker mattermost
cd mattermost
# copy env.example to .env, set DOMAIN, then:
docker compose up -d # → http://SERVER_IP:8065