config: configure gitlab_url on shell config to GITLAB_HOST, closes #26

This commit is contained in:
Sameer Naik 2014-04-05 20:31:41 +05:30
parent e224aee804
commit ef398dfd6f
3 changed files with 2 additions and 1 deletions

View File

@ -161,6 +161,7 @@ sudo -u git -H sed 's/{{REDIS_HOST}}/'${REDIS_HOST}'/' -i /home/git/gitlab/confi
sudo -u git -H sed 's/{{REDIS_PORT}}/'${REDIS_PORT}'/' -i /home/git/gitlab/config/resque.yml
# configure gitlab-shell
sudo -u git -H sed 's/{{GITLAB_HOST}}/'${GITLAB_HOST}'/' -i /home/git/gitlab-shell/config.yml
sudo -u git -H sed 's/{{REDIS_HOST}}/'${REDIS_HOST}'/' -i /home/git/gitlab-shell/config.yml
sudo -u git -H sed 's/{{REDIS_PORT}}/'${REDIS_PORT}'/' -i /home/git/gitlab-shell/config.yml

Binary file not shown.

View File

@ -2,7 +2,7 @@
user: git
# Url to gitlab instance. Used for api calls. Should end with a slash.
gitlab_url: "http://localhost/"
gitlab_url: "http://{{GITLAB_HOST}}/"
http_settings:
# user: someone