Mattermost

  • By Mattermost Charmers
juju deploy mattermost-charmers-mattermost
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Base
latest/stable 22
20.04

Platform:

Images are built via an OCI Recipe on Launchpad and pushed to mattermostcharmers/mattermost on dockerhub. Each image is tagged with the version number of Mattermost that it was built with (e.g. 5.29.0 ). The images published there are built using this Dockerfile.

Plugins

Plugins are also managed via the image build. The image builder does not enable any additional plugins by default, but examples of enabling prepackaged and downloaded plugins via the image_flavour build argument can be found on line 32 of the Dockerfile.

Webapp Customizations

To deploy changes to the Mattermost webapp itself (for example, we wrote a patch to add branded themes to our deployment) see line 39 onwards of the Dockerfile for details.

Local Image Builds

git clone https://git.launchpad.net/~mattermost-charmers/charm-k8s-mattermost/+git/image-build mattermost-image-build
docker build -t localhost:32000/mattermost ./mattermost-image-build
docker push localhost:32000/mattermost

Then, to use your new image, either replace the deploy step above with

juju deploy ./charm-k8s-mattermost/mattermost.charm --config mattermost_image_path=localhost:32000/mattermost:latest mattermost

or, if you’ve already deployed mattermost:

juju config mattermost mattermost_image_path=localhost:32000/mattermost:latest

Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated 5 months ago. Help improve this document in the forum.