config: update redis url for all execution environments

This commit is contained in:
Sameer Naik 2014-05-04 09:19:11 +05:30
parent a8426f04f6
commit cbe5c60c56
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
development: redis://localhost:6379
test: redis://localhost:6379
development: redis://{{REDIS_HOST}}:{{REDIS_PORT}}
test: redis://{{REDIS_HOST}}:{{REDIS_PORT}}
production: redis://{{REDIS_HOST}}:{{REDIS_PORT}}

View File

@ -282,8 +282,8 @@ sudo -u git -H sed 's/{{DB_POOL}}/'"${DB_POOL}"'/' -i /home/git/gitlab/config/da
sudo -u git -H sed 's/{{SIDEKIQ_CONCURRENCY}}/'"${SIDEKIQ_CONCURRENCY}"'/' -i /home/git/gitlab/config/sidekiq.yml
# configure redis
sudo -u git -H sed 's/{{REDIS_HOST}}/'"${REDIS_HOST}"'/' -i /home/git/gitlab/config/resque.yml
sudo -u git -H sed 's/{{REDIS_PORT}}/'"${REDIS_PORT}"'/' -i /home/git/gitlab/config/resque.yml
sudo -u git -H sed 's/{{REDIS_HOST}}/'"${REDIS_HOST}"'/g' -i /home/git/gitlab/config/resque.yml
sudo -u git -H sed 's/{{REDIS_PORT}}/'"${REDIS_PORT}"'/g' -i /home/git/gitlab/config/resque.yml
# configure gitlab-shell
sudo -u git -H sed 's,{{GITLAB_URL}},'"${GITLAB_URL}"',' -i /home/git/gitlab-shell/config.yml