Commit Graph

16 Commits

Author SHA1 Message Date
pilsner
ff571ff4f4 set db setting on app also
- db setting is available on db
- app also uses same valiables (eg. MM_USERNAME...)  however there is no hint on compose file.
2017-02-03 17:19:04 +09:00
Andrey Devyatkin
ce53a32e95 Update docker-compose file to v2 format (#62)
* Added docker-compose file v2 format and renamed old one to docker-compose-v1.yml
2016-12-20 00:13:02 -08:00
Yi EungJun
c1c1fe8a9c Fix 502 gateway error 2016-11-05 21:49:52 +09:00
5ak3t
b27089605f updated docker compose file to set db variables at a single source #55 2016-10-15 09:53:00 +05:30
Yi EungJun
41b57ede1b Restart always by default 2016-10-08 19:47:25 +09:00
Yi EungJun
811360572e Unify docker-compose-nossl.yml and docker-compose-ssl.yml 2016-06-03 00:06:42 +09:00
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
Yi EungJun
75bb4944ac app: Use hostname instead of ip for database 2016-01-25 15:46:08 +09:00
Yi EungJun
ca8f3f5565 Fix incorrect web port 2016-01-09 03:29:20 +09:00
Yi EungJun
1374ba50e8 Mount the data at ./volumes/app/mattermost/data 2015-12-16 16:26:27 +09:00
Yi EungJun
8de0a04739 Sync container's time with host 2015-12-16 16:25:41 +09:00
Yi EungJun
fe68c85a21 Mount the database at ./volumes/db/var/lib/postgresql/data/ 2015-12-04 18:16:01 +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
c1c06ec5a3 Do not expose ports unnecessarilly. 2015-12-04 17:58:23 +09:00
Yi EungJun
1c99770782 Add README and LICENSE 2015-11-30 17:58:11 +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