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 b7b44e6ff6 Support installation without SSL certificate
Now users should create a symbolic link to docker-compose-ssl.yml if
they want to enable SSL or docker-compose-nossl.yml if not.

Rewrite README to describe this rule.

This fixes https://github.com/mattermost/mattermost-docker/issues/5.
2016-04-19 00:33:33 +09:00
app Allow db host, name user and password to be configurable 2016-04-15 21:31:28 -07:00
db Allow db host, name user and password to be configurable 2016-04-15 21:31:28 -07:00
web web: Comment the configuration for redirecting to 443 2016-01-25 01:42:35 +00:00
docker-compose-nossl.yml Support installation without SSL certificate 2016-04-19 00:33:33 +09:00
docker-compose-ssl.yml Support installation without SSL certificate 2016-04-19 00:33:33 +09:00
LICENSE Add README and LICENSE 2015-11-30 17:58:11 +09:00
README.md Support installation without SSL certificate 2016-04-19 00:33:33 +09:00

Dockerfiles for Mattermost in production

Requirement

Installation

Install with SSL certificate

  1. Create a symbolic link docker-compose.yml to docker-compose-ssl.yml:

    ln -s docker-compose-ssl.yml docker-compose.yml

  2. 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 may generate a self-signed SSL certificate.

  3. Build and run mattermost

    docker-compose up -d

  4. Open https://your.domain with your web browser.

Install without SSL certificate

  1. Create a symbolic link docker-compose.yml to docker-compose-nossl.yml:

    ln -s docker-compose-nossl.yml docker-compose.yml

  2. Build and run mattermost

    docker-compose up -d

  3. Open http://your.domain with your web browser.

Starting/Stopping

Start

docker-compose start

Stop

docker-compose stop

Removing

Remove the containers

docker-compose stop && docker-compose rm

Remove the data and settings of your mattermost instance

sudo rm -rf volumes

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 prod-ubuntu.rst of mattermost.