
Deploy Mattermost Team Edition on Your Own Server
Mattermost Team Edition open source collaboration/chat software
Want to deploy Mattermost Team Edition on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Mattermost Team Edition?
Open-source collaboration/chat server Mattermost Team Edition. Note that version of mattermost is the E0 version, you do not need any licence to run it. This version is the one recommanded by mattermost to allow one click upgrade for E10 and E20 versions.
Self-Host Mattermost Team Edition
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
mattermost_team:
image: mattermost/mattermost-team-edition:release-9.7
environment:
DB_HOST: mattermost_team-db
MM_DBNAME: mattermost
MM_PASSWORD: 2c0ed4e8b915009dcf49ea2b0c4f90d6
MM_SERVICESETTINGS_SITEURL: https://mattermost_team.your-domain.com
MM_SQLSETTINGS_DATASOURCE: postgres://mmuser:2c0ed4e8b915009dcf49ea2b0c4f90d6@mattermost_team-db:5432/mattermost?sslmode=disable&connect_timeout=10
MM_USERNAME: mmuser
volumes:
- mattermost_team-data:/mattermost/data
- mattermost_team-logs:/mattermost/logs
- mattermost_team-config:/mattermost/config
- mattermost_team-plugins:/mattermost/plugins
- mattermost_team-clientplugins:/mattermost/client/plugins
depends_on:
- mattermost_team-db
mattermost_team-db:
image: postgres:14.3
environment:
POSTGRES_DB: mattermost
POSTGRES_PASSWORD: 2c0ed4e8b915009dcf49ea2b0c4f90d6
POSTGRES_USER: mmuser
volumes:
- mattermost_team-db-data:/var/lib/postgresql/data
volumes:
mattermost_team-data: {}
mattermost_team-logs: {}
mattermost_team-config: {}
mattermost_team-plugins: {}
mattermost_team-clientplugins: {}
mattermost_team-db-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:8065
Why Self-Host Mattermost Team Edition?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
mattermost/mattermost-team-edition:${mattermost_version}Official Docs
github.comWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"