Configuration to adjust to use local network for GL <-> MM communication
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Zendesk: https://gitlab.zendesk.com/agent/tickets/100440
Customer has GitLab and Mattermost installed in a private network (on the same server, even). They would like all GitLab <--> Mattermost communication to happen on the local network rather than traverse the network and use the public URL of each.
I think this should be possible by adjusting the following configuration options. Can the @mattermost-support team please confirm? Specifically, the gitlab_auth_endpoint should be the external URL, while the other two endpoints can be internal-only? Are there any caveats with this configuration?
mattermost['gitlab_auth_endpoint'] = "https://gitlab_external_url.example.com/oauth/authorize"
mattermost['gitlab_token_endpoint'] = "https://gitlab.local.address/oauth/token"
mattermost['gitlab_user_api_endpoint'] = "https://gitlab.local.address/api/v4/user"
Edited by 🤖 GitLab Bot 🤖