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.
This commit is contained in:
Raju Devidas authored and Carlos Tadeu Panato Junior committed 2020-01-09 11:24:03 +01:00
1 parent b9484f4444
commit c3916bb1c3
2 files changed
+8 -4

No files matched your search

+6 -3
View File
@@ -23,10 +23,13 @@ The following instructions deploy Mattermost in a production configuration using
If you want to install Enterprise Edition, you can skip this section.
To install the team edition, uncomment out these lines in docker-compose.yaml file:
To install the team edition, change `build: app` to `build:` and uncomment out these lines in `app:` services block to make it look like below in docker-compose.yaml file:
```yaml
args:
- edition=team
app:
build:
context: app
args:
- edition=team
```
The `app` Dockerfile will read the `edition` build argument to install Team (`edition = 'team'`) or Enterprise (`edition != team`) edition.
+2 -1
View File
@@ -21,7 +21,8 @@ services:
app:
build: app
# uncomment following lines for team edition or change UID/GID
# change `build:app` to `build:` and uncomment following lines for team edition or change UID/GID
# context: app
# args:
# - edition=team
# - PUID=1000