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:
parent
b9484f4444
commit
c3916bb1c3
@ -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.
|
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
|
```yaml
|
||||||
args:
|
app:
|
||||||
- edition=team
|
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.
|
The `app` Dockerfile will read the `edition` build argument to install Team (`edition = 'team'`) or Enterprise (`edition != team`) edition.
|
||||||
|
|
||||||
|
@ -21,7 +21,8 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
build: 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:
|
# args:
|
||||||
# - edition=team
|
# - edition=team
|
||||||
# - PUID=1000
|
# - PUID=1000
|
||||||
|
Reference in New Issue
Block a user