Skip to content

Adds support for setting env variables for the Mattermost runtime

If running GitLab with Mattermost behind a corporate internet proxy we need a way to set the corresponding environment variables for the Mattermost runtime environment in /etc/gitlab/gitlab.rb, e.g.

mattermost['env'] = {"http_proxy" => "my_proxy", "https_proxy" => "my_proxy", "no_proxy" => "my_no_proxy"}

This implementation is similar to the gitlab-workhorse one in commit 32e19c33.

Closes #2521 (closed)

Merge request reports