Manual fork of official GitHub repository for docker deployment of Mattermost https://github.com/mattermost/mattermost-docker
This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Yi EungJun 18c82ea9c6 app: Fix "Failed to open sql connection" error
The app should wait for a moment even after TCP connection to the
database is available.

Rollback a part of ac0b706.
2016-01-29 15:40:34 +09:00
app app: Fix "Failed to open sql connection" error 2016-01-29 15:40:34 +09:00
db db: Specify version of pgsql 2016-01-25 12:31:29 +09:00
web web: Comment the configuration for redirecting to 443 2016-01-25 01:42:35 +00:00
docker-compose.yml app: Use hostname instead of ip for database 2016-01-25 15:46:08 +09:00
LICENSE Add README and LICENSE 2015-11-30 17:58:11 +09:00
README.md app: Use hostname instead of ip for database 2016-01-25 15:46:08 +09:00

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.

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.