Dockerfiles for Mattermost in production
You must install SSL certificate before starting. Put your SSL certificate as
web/cert/cert.pem
and the private key that has no password as
web/cert/private/key-no-password.pem
.
If you don't have them you can generate a self-signed SSL certificate.
- Run
docker-compose up -d
. - Open
https://your.domain
with your web browser.
Run docker-compose stop
.
Run docker-compose stop && docker-compose rm
.
Remove volumes
directory
- Do not modify the Listen Address in Service Settings.
- Rarely 'app' container fails to start because of "connection refused" to database. Workaround: Restart the container.
If you want to know how to use docker-compose, see the overview page.
For the server configurations, see Production-Ubuntu.md of mattermost.