debian-mirror-gitlab/config/redis.shared_state.yml.example

39 lines
1.1 KiB
Text
Raw Normal View History

2021-04-29 21:17:54 +05:30
# 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-09-10 17:25:29 +05:30
#
development:
url: redis://localhost:6379/12
#
# url: redis://localhost:6382
# sentinels:
# -
# host: localhost
# port: 26382 # point to sentinel, not to redis port
# -
2020-05-24 23:13:21 +05:30
# host: replica2
2017-09-10 17:25:29 +05:30
# port: 26382 # point to sentinel, not to redis port
test:
url: redis://localhost:6379/12
#
# url: redis://localhost:6382
production:
# Redis (single instance)
url: unix:/var/run/redis/redis.shared_state.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
2021-01-03 14:25:43 +05:30
# please read here for more information: https://docs.gitlab.com/ee/administration/redis/index.html
2017-09-10 17:25:29 +05:30
##
# url: redis://master:6382
# sentinels:
# -
2020-05-24 23:13:21 +05:30
# host: replica1
2017-09-10 17:25:29 +05:30
# port: 26382 # point to sentinel, not to redis port
# -
2020-05-24 23:13:21 +05:30
# host: replica2
2017-09-10 17:25:29 +05:30
# port: 26382 # point to sentinel, not to redis port