Commit Graph

46 Commits

Author SHA1 Message Date
voima-eetu
c3ecd245be
Change nginx container to unprivileged (#525) 2021-05-05 09:05:09 +02:00
Patrick Schratz
d8c52f8d74
Make MM_VERSION an ARG instead of an ENV (#515)
* make MM_VERSION an ARG instead of an ENV
2021-03-21 10:17:41 +01:00
craph
50921a7313
Fix : certificate signed by unknown authority refs : https://github.com/mattermost/mattermost-server/issues/13059 (#474) 2020-05-13 17:17:48 +02:00
Igor Serebryany
1bfa69db5c
allow uncommenting for team edition (#433)
currently, if you follow the instructions and uncomment the lines, you
will get a YAML error:

```
ERROR: yaml.parser.ParserError: while parsing a block mapping
  in "./docker-compose.yml", line 23, column 5
expected <block end>, but found '<block mapping start>'
  in "./docker-compose.yml", line 25, column 7
```

found the potential solution in mattermost/mattermost-docker#343

Co-authored-by: mattermod <mattermod@users.noreply.github.com>
2020-04-01 11:46:36 +02:00
alessandro
b4482771f7
docker-compose: remove unused ENV variable (#456) 2020-03-26 13:53:10 +01:00
Raju Devidas
c3916bb1c3 Fixes for the smooth deployment of Team edition. (#438)
* Fixes for the smooth deployment of Team edition.
	- Just uncommenting out the lines does not work as expected.
	- the line for context is required for it to work for team edition deployment.
	- Added the subsequent changes in the installation instructions in README.md

* Adding changes as suggested by @ccoenen
  - making the changes more clear in the code block
  - adding more textual clarity in the sentence on what needs to be changed.
2020-01-09 11:24:03 +01:00
Simon Staszkiewicz
39e9023691 Bug fixes (#427)
* Call the base container entrypoint with proper arguments

* Build the app container using path to directory

* Add CONTRIBUTING.md
2019-11-29 16:25:20 +01:00
Christopher Poile
8dfd06db9d save the sql datasource into an env variable in the app container (#421) 2019-11-06 14:59:16 +01:00
Marco Blessing
29c49db492 update docker-compose version (#415)
* update docker-compose version

* updating to file version 3 shouldn't break anything
2019-09-16 17:40:23 +02:00
Kyâne
d8d6ac96bf Add client plugins as bind mount
Closes #356
2019-01-11 19:21:57 +01:00
Yusuke Nemoto
1811af4a75 Backup plugins directory (#297) 2018-08-22 14:47:58 +02:00
PICHOU Kyâne
c5aaa9512b Fix text
Closes #280
2018-06-24 19:00:21 +02:00
antoineHC
f79bbea7a4 Production Hardening (#241) 2018-04-15 19:33:49 +02:00
Kyâne Pichou
8dc50a5d31 Allow to customize app host/port (#181)
Allow to use custom hostname and/or port value for app container from the Web
container. Usefull for some people using containers provider (eg. #142)
2017-10-26 21:16:09 +02:00
sebgl
1943614f10 Remove deprecated links in docker-compose file (#185)
Using links is considered to be a deprecated feature of Docker,
in favor of user-defined networks (see
https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).
Since the docker-compose file is in Version 2, a network is
automatically created for the 3 containers.
2017-10-20 20:19:34 +02:00
Kyâne Pichou
6ee75f4f6b Merge app dockerfiles (#146)
* Merge app dockerfiles

* Update readme for choosing team edition
2017-09-24 22:25:47 +02:00
Vít Listík
d05077c3db Added SSL example (#171)
Added commented section for enabling SSL
2017-09-20 09:13:24 +02:00
Kyâne Pichou
09f6b6580a Fix docker-compose file 2017-06-23 14:57:51 +02:00
Kyâne Pichou
5993e1f231 Use links instead of depends_on 2017-06-19 10:47:59 +02:00
Pan Luo
a034f8f7ab
Fix the incorrect port in docker-compose 2017-03-26 00:35:45 -07:00
Pan Luo
a29f94d497
Update to Mattermost 3.7.3 2017-03-22 16:52:48 -07:00
Pan Luo
82f13b1e4c Move enterprise version into this branch (#94)
Since the only difference is mattermost package and  we don't want
to maintain two difference branches, just moved the enterprise version
into a alternative dockerfile
2017-03-13 15:26:45 -07:00
Pan Luo
7b478061f1 Merge pull request #103 from darkrasid/master
add log dir volume option on docker-compose file
2017-03-01 21:21:38 -08:00
nikosch86
f7c78e675a simplify reverse proxy (#98)
make use of mainline nginx image, switch ssl/non-ssl config file based on presence of cert/key, hardcode app port since it is hardcoded in the app container as well
2017-02-26 00:30:03 -08:00
nikosch86
142b766cde make use of postgres image db init script, use their variable naming … (#100)
* make use of postgres image db init script, use their variable naming scheme, make setup-wale executable so it can actually run
2017-02-23 13:32:24 -08:00
Pan Luo
c6e177cdf2 Merge pull request #99 from nikosch86/docker-compose-dependencies
make use of docker compose dependencies
2017-02-23 13:31:18 -08:00
nikosch86
1cb127e849 services should be stoppable (#97)
services should be stoppable
2017-02-23 13:30:41 -08:00
Pan Luo
2a0cf0cb21 Allow config location to be customized from CLI (#66)
* Allow config location to be customized from CLI

Config file should be stored in a persistent storage as it is stores the
app status and configuration. It should be independent from container
life cycle and mounted into app container. This commit allows config
location to be changed through CLI. So that when the persistent storage
is mounted, the location can be pointed to the mounted config file.

Also some updates for best practices:
* extracted version numbers in Dockerfile into a environment variable
* Added mattermost/bin to PATH environment variable

* Add customizable environment variables to readme
2017-02-22 21:37:43 -08:00
pilsner
d9aaad088a add log dir volume option on docker-compose file 2017-02-23 14:09:53 +09:00
Nikolaus
5094af97e0 make use of docker compose dependencies 2017-02-20 09:56:11 +04:00
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