Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use GitLab and Gitlab-Mattermost on one machine?

My conf-file:

external_url "http://192.168.3.23"  # note the use of a dotted ip

gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = '[email protected]'
gitlab_rails['gitlab_email_display_name'] = 'gitlab'
#gitlab_rails['gitlab_email_reply_to'] = '[email protected]'

gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "mail.home"
gitlab_rails['smtp_port'] = 25
gitlab_rails['smtp_domain'] = "myhome.com"

mattermost_external_url 'http://192.168.3.23'
mattermost['gitlab_enable'] = true
mattermost['gitlab_secret'] = "4d1e<***>bdbfe"
mattermost['gitlab_id'] = "1c441<***>092df"
mattermost['gitlab_scope'] = ""
mattermost['gitlab_auth_endpoint'] = "http://192.168.3.23/oauth/authorize"
mattermost['gitlab_token_endpoint'] = "http://192.168.3.23/oauth/token"
mattermost['gitlab_user_api_endpoint'] = "http://192.168.3.23/api/v3/user"


# Shut down GitLab services on the Mattermost server
#gitlab_rails['enable'] = false

But now by the address 192.168.3.23 loading only gitlab. GitLab Community Edition 8.4.4 9c31cc6! How to start use gitlab and mattermost together?

like image 861
scientistnik Avatar asked Feb 17 '16 13:02

scientistnik


People also ask

Does Mattermost come with GitLab?

Mattermost ships as part of the GitLab Omnibus package, providing out-of-the box support for GitLab SSO, pre-packaged GitLab integrations, and PostgreSQL support, along with a Prometheus integration that enables systems monitoring and incident response management.

How do I enable Mattermost in GitLab?

Go to GitLab. From the sidebar on the left, go to Settings > Integrations. Scroll down and select Mattermost notifications. Paste the previously copied webhook URL into the Webhook field, then select Save changes.

What is GitLab omnibus?

Omnibus GitLab is a way to package different services and tools required to run GitLab, so that most users can install it without laborious configuration.


1 Answers

Need use different url-address for GitLab and Mattermost.

extermanl_url "http://192.168.3.23"
...
mattermost_external_url "http://192.168.3.23:8065"

Solve here.

like image 177
scientistnik Avatar answered Oct 17 '22 00:10

scientistnik