Mattermost and GitLab external URL's are not configured properly

The Mattermost and GitLab external URL's are not configured correctly with the current scripts. These need to be set properly to right DNS for each service, based on the names we create in Route53:

  • gitlab.*
  • mattermost.*

To set them, is simply a matter of configuring the following values:

  • GitLab URL: "external_url \"${GitLabUrl}\""
  • Mattermost URL:
    • mattermost_external_url \"${MattermostExternalUrl}\"
    • mattermost_nginx['listen_addresses'] = ['*']
    • mattermost_nginx['listen_port'] = 2000

One other item we have seen is that we need to replace the existing gitlab.rb, as it does contain a default external_url field. If we do not, there will be two.

  • cat /etc/gitlab/gitlab-init.rb > /etc/gitlab/gitlab.rb
Edited by silv