TL;DR — Quick Summary
Deploy Mattermost for self-hosted team messaging. Channels, threads, file sharing, integrations, and plugins. Open-source Slack alternative with Docker deployment.
Mattermost — Self-Hosted Slack
services:
mattermost:
image: mattermost/mattermost-team-edition:latest
container_name: mattermost
restart: always
ports:
- "8065:8065"
environment:
- MM_SQLSETTINGS_DRIVERNAME=postgres
- MM_SQLSETTINGS_DATASOURCE=postgres://mattermost:mattermost@db:5432/mattermost?sslmode=disable
depends_on:
- db
volumes:
- mattermost-data:/mattermost/data
db:
image: postgres:15-alpine
environment:
POSTGRES_DB: mattermost
POSTGRES_USER: mattermost
POSTGRES_PASSWORD: mattermost
volumes:
- mattermost-db:/var/lib/postgresql/data
volumes:
mattermost-data:
mattermost-db:
Features
| Feature | Description |
|---|---|
| Channels | Public, private, and group channels |
| Threads | Organized threaded conversations |
| File sharing | Drag-and-drop files, images, code |
| Calls | Voice and video calls (plugin) |
| Integrations | Webhooks, bots, Jira, GitHub, GitLab |
| Plugins | Marketplace with 100+ plugins |
| Mobile | iOS and Android apps |
| SSO | LDAP, SAML, OAuth |