Mattermost Production Docker Setup
About
This is a minimal production setup for Mattermost. It includes an Nginx reverse proxy and PostgreSQL database. By default it doesn't include TLS, but this can be added fairly easily.
How to Use
- Modify
mattermost.env
to match your environment - Create an environment file by running
ln -s mattermost.env .env
- Run
docker-compose up -d
Adding TLS
- Find your TLS certificate and key and put them in
./nginx/ssl
- Modify
./nginx/templates/default.conf.template
to uncomment lines 13-33 and correct the certificate & key filenames (if necessary) - Re-run
docker-compose up -d
to reload the configuration