Use environment variables to configure Mattermost
Mattermost now supports reading from environment variables to override what is in
config.json. We should move to this method of passing configuration settings to MM instead of generating
config.json. This is because Mattermost also writes data here, and if a reconfigure then occurs these newer settings can be lost.
More information on the current issue is here: #1688 (closed)