2015-06-11 09:11:37 -04:00
|
|
|
# If you change this file in a Merge Request, please also create
|
|
|
|
# a Merge Request on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests
|
|
|
|
#
|
2016-05-30 17:13:42 -04:00
|
|
|
development:
|
|
|
|
url: redis://localhost:6379
|
2016-07-12 11:10:03 -04:00
|
|
|
# sentinels:
|
|
|
|
# -
|
|
|
|
# host: localhost
|
|
|
|
# port: 26380 # point to sentinel, not to redis port
|
|
|
|
# -
|
|
|
|
# host: slave2
|
|
|
|
# port: 26381 # point to sentinel, not to redis port
|
2016-05-30 17:13:42 -04:00
|
|
|
test:
|
|
|
|
url: redis://localhost:6379
|
|
|
|
production:
|
|
|
|
# Redis (single instance)
|
|
|
|
url: unix:/var/run/redis/redis.sock
|
|
|
|
##
|
|
|
|
# Redis + Sentinel (for HA)
|
|
|
|
#
|
2016-07-12 11:10:03 -04:00
|
|
|
# Please read instructions carefully before using it as you may lose data:
|
2016-05-30 17:13:42 -04:00
|
|
|
# http://redis.io/topics/sentinel
|
|
|
|
#
|
|
|
|
# You must specify a list of a few sentinels that will handle client connection
|
|
|
|
# please read here for more information: https://github.com/redis/redis-rb#sentinel-support
|
|
|
|
##
|
2016-07-12 11:10:03 -04:00
|
|
|
# url: redis://master:6379
|
|
|
|
# sentinels:
|
|
|
|
# -
|
|
|
|
# host: slave1
|
|
|
|
# port: 26379 # point to sentinel, not to redis port
|
|
|
|
# -
|
|
|
|
# host: slave2
|
|
|
|
# port: 26379 # point to sentinel, not to redis port
|