Сервис приложения
Сервисы/Mattermost

Сервис Mattermost

Самостоятельно размещаемый Mattermost Team Edition для командной переписки с постоянным файловым хранилищем и связанной базой данных PostgreSQL.

Вы добавляете этот сервис в стек и выбираете там его версию и ресурсы. Каждое окружение может их переопределить.

В StackMaster

Как Mattermost работает в StackMaster

What Wodby sets up for Mattermost on this service. Mattermost runs from the official mattermost/mattermost-team-edition image. Configuration is passed as MM_<SECTION>_<SETTING> environment variables, which take precedence over config.json; a setting given by a variable cannot be changed in the System Console.

Linked services

LinkVariables
PostgreSQL (required)MM_SQLSETTINGS_DRIVERNAME, MM_SQLSETTINGS_DATASOURCE
SMTP server (optional)MM_EMAILSETTINGS_SMTPSERVER, MM_EMAILSETTINGS_SMTPPORT, MM_EMAILSETTINGS_ENABLESMTPAUTH, MM_EMAILSETTINGS_CONNECTIONSECURITY

Mail goes to the linked mail service without authentication or connection security. The mail variables are present only while the link exists.

What the manifest sets

  • MM_SERVICESETTINGS_SITEURL is the environment's primary URL.
  • MM_FILESETTINGS_MAXFILESIZE (100 MB) is the only upload limit; the route passes request bodies through without a size limit and has no request timeout. Setting the route's request_body_size would buffer every request in the gateway and break the WebSocket connection.
  • Logs go to the console as JSON (MM_LOGSETTINGS_*); file logging is off.
  • MM_CONFIG points to /mattermost/config/config.json. Before the first start an init container creates that file with initial plugin states, only when it does not exist.
  • The container runs as user and group 2000 and listens on port 8065. The health endpoint is /api/v4/system/ping.

Changing configuration

Settings that the manifest or a link provides as variables are changed on the service (environment variables) and applied by a deployment. Other settings can be changed in the System Console; they are saved to config.json on the volume.

Data

One data volume holds four directories:

Path in the containerContent
/mattermost/datauploaded files
/mattermost/configconfig.json
/mattermost/pluginsserver plugins
/mattermost/client/pluginsweb application plugins

Everything else is in the linked PostgreSQL database. The manifest declares no backup, import or action for this service, and creates no account: the first system administrator is created in the browser.

Обзор

Технический профиль Mattermost

Здесь перечислены версии, которые можно выбрать для Mattermost в стеке или окружении. Сам сервис публикуется ревизиями, и стек ссылается на конкретную ревизию.

Тип сервиса

Сервис приложения

Версии

11.7

Постоянные тома

Mattermost data

Стеки

Стеки, в которые входит Mattermost

Mattermost входит в этот публичный стек. Можно создать приложение из публичного стека как есть или добавить сервис в собственный стек.

Конфигурация

Конфигурация сервиса Mattermost

Сервис Mattermost объявляет следующее. Если значение можно изменить, его задаёт стек, а каждое окружение может его переопределить.

Технические домены

StackMaster выдаёт каждому публичному HTTP-порту технический домен с TLS-сертификатом и продлевает сертификат. Порт, который сервис помечает как частный, домен не получает. Можно добавить собственные домены.

Тома

Mattermost data

Связи сервиса

Каждая связь — это подключение Mattermost к другому сервису. На какой сервис указывает связь, задаёт стек. На карточках перечислены публичные сервисы, которые подходят для каждой связи.

sendmail

Сервисы, которые подходят для этой связи