如何在一台机器上使用GitLab和Gitlab-Mattermost?

我的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'] = 'gitlab@myhome.com'
gitlab_rails['gitlab_email_display_name'] = 'gitlab'
#gitlab_rails['gitlab_email_reply_to'] = 'gitlab@myhome.com'

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

但现在由地址192.168.3.23加载只有gitlab.
GitLab社区版8.4.4 9c31cc6!
如何开始一起使用gitlab和mattermost?

最佳答案 需要为GitLab和Mattermost使用不同的url-address.

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

解决here.

点赞