Skip to content

Instantly share code, notes, and snippets.

@wnoguchi
Created November 17, 2017 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wnoguchi/d9a79e616aaf06e81522ed681a2921c4 to your computer and use it in GitHub Desktop.
Save wnoguchi/d9a79e616aaf06e81522ed681a2921c4 to your computer and use it in GitHub Desktop.
Mattermost Installation with Omnibus GitLab
--- /etc/gitlab/gitlab.rb.ssl 2017-11-17 01:32:09.200968784 +0000
+++ /etc/gitlab/gitlab.rb 2017-11-17 01:52:59.928804825 +0000
@@ -1068,7 +1068,7 @@
##! Docs: https://docs.gitlab.com/omnibus/gitlab-mattermost
################################################################################
-#mattermost_external_url 'https://mattermost.demo.pg1x.com'
+mattermost_external_url 'https://mattermost.demo.pg1x.com'
#mattermost['enable'] = false
# mattermost['username'] = 'mattermost'
@@ -1159,9 +1159,9 @@
# mattermost['gitlab_id'] = "12345656"
# mattermost['gitlab_secret'] = "123456789"
# mattermost['gitlab_scope'] = ""
-# mattermost['gitlab_auth_endpoint'] = "http://gitlab.example.com/oauth/authorize"
-# mattermost['gitlab_token_endpoint'] = "http://gitlab.example.com/oauth/token"
-# mattermost['gitlab_user_api_endpoint'] = "http://gitlab.example.com/api/v4/user"
+mattermost['gitlab_auth_endpoint'] = "https://gitlab.demo.pg1x.com/oauth/authorize"
+mattermost['gitlab_token_endpoint'] = "https://gitlab.demo.pg1x.com/oauth/token"
+mattermost['gitlab_user_api_endpoint'] = "https://gitlab.demo.pg1x.com/api/v4/user"
# mattermost['aws'] = {'S3AccessKeyId' => '123', 'S3SecretAccessKey' => '123', 'S3Bucket' => 'aa', 'S3Region' => 'bb'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment