Deploying Mattermost on Openshift

Hey all,

I’m at a company which uses Gitlab-EE and part of that installation uses mattermost team edition which I believe comes bundled with the docker image. All the services are deployed out to separate VMs on our hypervisor.

For the deployment of mattermost on the separate VM they essentially use the gitlab-ee docker image but replace the gitlab.rb file and remove most of the content only leaving

mattermost_external_url 'https://%MATTERMOST_URL%'

mattermost['gitlab_enable'] = true
mattermost['gitlab_id'] = "%GITLAB_ID%"
mattermost['gitlab_secret'] = "%GITLAB_SECRET%"
mattermost['gitlab_scope'] = ""
mattermost['gitlab_auth_endpoint'] = "https://%GITLAB_URL%/oauth/authorize"
mattermost['gitlab_token_endpoint'] = "https://%GITLAB_URL%/oauth/token"
mattermost['gitlab_user_api_endpoint'] = "https://%GITLAB_URL%/api/v3/user"

gitlab_rails['enable'] = false

mattermost_nginx['redirect_http_to_https'] = true
mattermost_nginx['ssl_certificate'] = "/etc/gitlab/ssl/%MATTERMOST_URL%.crt"
mattermost_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/%MATTERMOST_URL%.key"
mattermost['service_site_url'] = "https://%MATTERMOST_URL%"
mattermost['service_use_ssl'] = true
mattermost['service_enable_incoming_webhooks'] = true
mattermost['service_enable_outgoing_webhooks'] = true

We’ve been pushing using Openshift and I’d like to use mattermost as a project to implement it and just wondering what easiest action would be.

I notice there is a mattermost docker image and a mattermost prod db image. This obviously seems like the best course of action but my biggest concern is that the these images might not be able to utilise the gitlab AD which is an obvious vital requirement for our chat.

Has anyone any experience with a similar deployment and might be able to offer advice ?

Hey @Office-Manager,

Thanks for your feedback and apologies for the delay in responding…

I’m wondering whether it would be of any help to post an issue to the mattermost-openshift repo?