Skip to content

snyderra/mattermost-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfiles for Mattermost in production

Requirement

Howto

Install SSL certificate

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.

(Re)start

  1. Run docker-compose up -d.
  2. Open https://your.domain with your web browser.

Stop

Run docker-compose stop.

Remove the containers

Run docker-compose stop && docker-compose rm.

Remove the data and settings of your mattermost instance

Remove volumes directory

Known Issues

  • 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.
  • Sometimes database connection is misconfigured. Workaround: Delete volumes/app/mattermost/config/config.json and restart the 'app' container.

More informations

If you want to know how to use docker-compose, see the overview page.

For the server configurations, see Production-Ubuntu.md of mattermost.

About

Dockerfile for mattermost in production

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%