mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
config: update redis url for all execution environments
This commit is contained in:
parent
a8426f04f6
commit
cbe5c60c56
@ -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}}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user