Mattermost

Platform:

Channel Revision Published Runs on
latest/stable 66 30 Nov 2026
Ubuntu 24.04 Ubuntu 20.04
latest/stable 18 27 Nov 2026
Ubuntu 24.04 Ubuntu 20.04
latest/edge 66 30 Nov 2026
Ubuntu 24.04 Ubuntu 20.04
latest/edge 18 14 Jun 2021
Ubuntu 24.04 Ubuntu 20.04
juju deploy mattermost-k8s

Learn about configurations >

  • app-port | int

    Default: 8080

    Default port where the application will listen on.

  • app-secret-key | string

    Long secret you can use for sessions, csrf or any other thing where you need a random secret shared by all units

  • app-secret-key-id | secret

    This configuration is similar to app-secret-key, but instead accepts a Juju user secret ID. The secret should contain a single key, "value", which maps to the actual application secret key. To create the secret, run the following command: juju add-secret my-app-secret-key value=<secret-string> && juju grant-secret my-app-secret-key my-app, and use the output secret ID to configure this option.

  • close-unused-direct-messages | boolean

    Automatically close direct message conversations that have been inactive. If disabled, users cannot enable this themselves.

  • clustering | boolean

    Enable Mattermost high-availability clustering mode. Requires a Mattermost Enterprise Edition licence.

  • debug | boolean

    Set the Mattermost log level to DEBUG. When false, the log level is INFO. Also enables S3 request tracing when S3 storage is active.

  • enable-custom-emoji | boolean

    Allow users to create and use custom emoji.

  • enable-user-access-tokens | boolean

    Allow users to create Personal Access Tokens.

  • image-proxy-enabled | boolean

    Enable the built-in local image proxy. This prevents Mattermost clients from connecting directly to remote image servers, anonymizing their connections and blocking insecure content.

  • licence | string

    The contents of the Mattermost Enterprise Edition licence file. Required for enterprise features such as clustering, S3 server-side encryption, and SAML SSO.

  • max-channels-per-team | int

    Default: 3000

    Maximum number of channels per team, including both active and deleted channels.

  • max-file-size | int

    Default: 5

    Maximum file upload size in megabytes.

  • max-users-per-team | int

    Default: 2000

    Maximum number of users per team, including active and inactive users.

  • metrics-path | string

    Default: /metrics

    Path where the prometheus metrics will be scraped.

  • metrics-port | int

    Default: 8080

    Port where the prometheus metrics will be scraped.

  • oauth-redirect-path | string

    Default: /callback

    The path that the user will be redirected upon completing login.

  • oauth-scopes | string

    Default: openid profile email

    A list of scopes with spaces in between.

  • primary-team | string

    The primary team of which users on the server are members. When set, the options to join other teams or leave the primary team are disabled. Value is the team URL slug (e.g. "myteam").

  • push-notification-server | string

    The URL of the push notification server (e.g. Mattermost HPNS or a self-hosted push proxy). Required for mobile push notifications.

  • push-notifications-include-message-snippet | boolean

    If true, push notification payloads include a message snippet (which may contain confidential information). If false, payloads include only an ID for the client to fetch the message directly.

  • s3-server-side-encryption | boolean

    Enable S3 Server-Side Encryption (SSE) for file attachments at rest. Requires S3-side configuration and a Mattermost Enterprise Edition licence.