2021-04-09 11:09:10 -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
|
2017-07-10 23:35:47 -04:00
|
|
|
#
|
|
|
|
development:
|
|
|
|
url: redis://localhost:6379/10
|
|
|
|
#
|
|
|
|
# url: redis://localhost:6380
|
|
|
|
# sentinels:
|
|
|
|
# -
|
|
|
|
# host: localhost
|
|
|
|
# port: 26380 # point to sentinel, not to redis port
|
|
|
|
# -
|
2020-05-15 05:07:59 -04:00
|
|
|
# host: replica2
|
2017-07-10 23:35:47 -04:00
|
|
|
# port: 26380 # point to sentinel, not to redis port
|
|
|
|
test:
|
|
|
|
url: redis://localhost:6379/10
|
|
|
|
#
|
|
|
|
# url: redis://localhost:6380
|
|
|
|
production:
|
|
|
|
# Redis (single instance)
|
|
|
|
url: unix:/var/run/redis/redis.cache.sock
|
|
|
|
##
|
|
|
|
# Redis + Sentinel (for HA)
|
|
|
|
#
|
|
|
|
# Please read instructions carefully before using it as you may lose data:
|
|
|
|
# http://redis.io/topics/sentinel
|
|
|
|
#
|
|
|
|
# You must specify a list of a few sentinels that will handle client connection
|
2020-10-12 11:08:32 -04:00
|
|
|
# please read here for more information: https://docs.gitlab.com/ee/administration/redis/index.html
|
2017-07-10 23:35:47 -04:00
|
|
|
##
|
|
|
|
# url: redis://master:6380
|
|
|
|
# sentinels:
|
|
|
|
# -
|
2020-05-15 05:07:59 -04:00
|
|
|
# host: replica1
|
2017-07-10 23:35:47 -04:00
|
|
|
# port: 26380 # point to sentinel, not to redis port
|
|
|
|
# -
|
2020-05-15 05:07:59 -04:00
|
|
|
# host: replica2
|
2017-07-10 23:35:47 -04:00
|
|
|
# port: 26380 # point to sentinel, not to redis port
|