mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
configure redis for gitlab-shell
This commit is contained in:
parent
157f4166a8
commit
bac26933b8
@ -80,6 +80,10 @@ sudo -u git -H sed 's/{{SIDEKIQ_CONCURRENCY}}/'${SIDEKIQ_CONCURRENCY}'/' -i /hom
|
||||
# configure redis
|
||||
sudo -u git -H sed 's/redis.example.com:6379/'${REDIS_HOST}':'${REDIS_PORT}'/' -i /home/git/gitlab/config/resque.yml
|
||||
|
||||
# configure gitlab-shell
|
||||
sudo -u git -H sed 's/host: 127.0.0.1/host: '${REDIS_HOST}'/' -i /home/git/gitlab-shell/config.yml
|
||||
sudo -u git -H sed 's/port: 6379/port: '${REDIS_PORT}'/' -i /home/git/gitlab-shell/config.yml
|
||||
|
||||
# configure unicorn workers
|
||||
sed 's/worker_processes 2/worker_processes '${UNICORN_WORKERS}'/' -i /home/git/gitlab/config/unicorn.rb
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user