Skip to content
Snippets Groups Projects
Commit b9f97b40 authored by Jeroen Nijhof's avatar Jeroen Nijhof
Browse files

Added redis replication attributes

parent b1efe9b4
No related branches found
No related tags found
1 merge request!625Added redis replication attributes
Loading
Loading
@@ -352,6 +352,8 @@ default['gitlab']['redis']['bind'] = '127.0.0.1'
default['gitlab']['redis']['port'] = 0
default['gitlab']['redis']['unixsocket'] = "/var/opt/gitlab/redis/redis.socket"
default['gitlab']['redis']['unixsocketperm'] = "777"
default['gitlab']['redis']['master_ip'] = '127.0.0.1'
default['gitlab']['redis']['master_port'] = 6379
 
####
# Web server
Loading
Loading
Loading
Loading
@@ -168,7 +168,7 @@ dir <%= @dir %>
# so for example it is possible to configure the slave to save the DB with a
# different interval, or to listen to another port, and so on.
#
# slaveof <masterip> <masterport>
<%= "slaveof #{@master_ip} #{@master_port}" if @ha %>
 
# If the master is password protected (using the "requirepass" configuration
# directive below) it is possible to tell the slave to authenticate before
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment