Deploy Your Self-Hosted Mattermost Server

Launch Mattermost in minutes with our quick install guides.

Preview Mattermost Instantly

Run this command from your preferred Docker host:

docker run --name mattermost-preview -d --publish 8065:8065 mattermost/mattermost-preview Copied to clipboard

Ready for Production?

Install Mattermost via Docker

1

Clone the repository

git clone https://github.com/mattermost/docker && cd docker Copied to clipboard
2

Copy the example configuration

cp env.example .env Copied to clipboard

Change the following line inside the .env file to the fully-qualified domain name for your Mattermost server.

DOMAIN=mm.example.com Copied to clipboard
3

Create the required directories

mkdir -p ./volumes/app/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes} && sudo chown -R 2000:2000 ./volumes/app/mattermost Copied to clipboard
4

Deploy

sudo docker-compose -f docker-compose.yml -f docker-compose.without-nginx.yml up -d Copied to clipboard

Need TLS or a Proxy?

Read the full Docker deployment guide for more options.

Need a Different Deployment Method?

View all guides »

Latest Release: 6.7.0

Release Date: May 16, 2022

Release Notes »

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies here. By continuing to use this site, you consent to our use of cookies.