Configuration settings

System admins for both self-hosted and Cloud Mattermost deployments can manage Mattermost configuration using the System Console by selecting the Product Navigate between Channels, collaborative playbooks, and boards using the product menu icon. menu and selecting System Console.

Note

  • In self-hosted Mattermost deployments, configuration settings are maintained in the config.json configuration file, located in the mattermost/config directory, or stored in the database. System admins managing self-hosted deployments can also modify the config.json file directly using a text editor.

  • Mattermost requires write permissions to the config.json file; otherwise, configuration changes made within the System Console will have no effect.

Mattermost configuration settings are organized into the following categories within the System Console:

Configuration in database

Self-hosted system configuration can be stored in the database. This changes the Mattermost binary from reading the default config.json file to reading the configuration settings stored within a configuration table in the database. See the Mattermost database configuration documentation for migration details.

Environment variables

You can use environment variables to manage Mattermost configuration for self-hosted deployments. Environment variables override settings in config.json. If a change to a setting in config.json requires a restart to take effect, then changes to the corresponding environment variable also require a server restart.

Configuration reload

In self-hosted deployments, the “config watcher”, the mechanism that automatically reloads the config.json file, has been deprecated in favor of the mmctl config reload command that you must run to apply configuration changes you’ve made. This improves configuration performance and robustness.

Deprecated configuration settings

See the deprecated configuration settings documentation for details on all deprecated Mattermost configuration settings that are no longer supported.