Commit Graph

5 Commits

Author SHA1 Message Date
Yi EungJun
1374ba50e8 Mount the data at ./volumes/app/mattermost/data 2015-12-16 16:26:27 +09:00
Yi EungJun
b4ad7f2119 Wait until database is ready 2015-12-09 18:57:58 +09:00
Yi EungJun
2d908b3cca Fix a bug that config.json is not created
Do not copy config.json into /matteronst/config directly because:

> Changes to a data volume will not be included when you update an image.
>
> -- https://docs.docker.com/engine/userguide/dockervolumes/

Instead copy config.template.json into the root and generate
/mattermost/config/config.json from the file.
2015-12-04 18:08:13 +09:00
Yi EungJun
72df442289 Fix loss of settings when 'app' is recreated 2015-12-04 00:40:22 +09:00
Yi EungJun
4cf5bdc8c8 Docker for mattermost in production
1. Put cert.pem into web/cert and key-no-password.pem into web/cert/private.
2. docker-compose up -d

The settings of the servers are based on
https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md.

app/config_docker.json is based on
https://raw.githubusercontent.com/mattermost/platform/master/config/config.json.
2015-11-30 17:54:49 +09:00