Commit 696fe2a3efd39c44e231262ed5870d96874d3299
1 parent
d4984e20
Exists in
master
and in
11 other branches
Add the ability to change the Redis port
Showing
3 changed files
with
11 additions
and
0 deletions
Show diff stats
CHANGELOG
files/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb
... | ... | @@ -74,6 +74,15 @@ template_symlink File.join(gitlab_rails_etc_dir, "database.yml") do |
74 | 74 | restarts dependent_services |
75 | 75 | end |
76 | 76 | |
77 | +template_symlink File.join(gitlab_rails_etc_dir, "resque.yml") do | |
78 | + link_from File.join(gitlab_rails_source_dir, "config/resque.yml") | |
79 | + source "resque.yml.erb" | |
80 | + owner "root" | |
81 | + group "root" | |
82 | + mode "0644" | |
83 | + restarts dependent_services | |
84 | +end | |
85 | + | |
77 | 86 | template_symlink File.join(gitlab_rails_etc_dir, "gitlab.yml") do |
78 | 87 | link_from File.join(gitlab_rails_source_dir, "config/gitlab.yml") |
79 | 88 | source "gitlab.yml.erb" | ... | ... |
files/gitlab-cookbooks/gitlab/templates/default/resque.yml.erb
0 → 100644
... | ... | @@ -0,0 +1 @@ |
1 | +production: redis://localhost:<%= node['gitlab']['redis']['port'] %> | ... | ... |