From 6cb65c8c344e733902d7193facc71cdc8ce569c7 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Fri, 31 Mar 2017 02:37:45 +0200 Subject: Make location of gitlab_workhorse_secret configurable Hard-coding location of configuration files is very bad practice. This patch applies the same approach as currently used for gitlab_shell_secret file. --- config/gitlab.yml.example | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/gitlab.yml.example') diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 06c9f734c2a..c2eaf263937 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -505,6 +505,11 @@ production: &base # If you use non-standard ssh port you need to specify it # ssh_port: 22 + workhorse: + # File that contains the secret key for verifying access for gitlab-workhorse. + # Default is '.gitlab_workhorse_secret' relative to Rails.root (i.e. root of the GitLab app). + # secret_file: /home/git/gitlab/.gitlab_workhorse_secret + ## Git settings # CAUTION! # Use the default values unless you really know what you are doing -- cgit v1.2.3