debian-mirror-gitlab/config/resque.yml.example

35 lines
1.1 KiB
Text
Raw Normal View History

2015-09-11 14:41:01 +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
#
2016-09-13 17:45:13 +05:30
development:
url: redis://localhost:6379
# sentinels:
# -
# host: localhost
# port: 26380 # point to sentinel, not to redis port
# -
2020-05-24 23:13:21 +05:30
# host: replica2
2016-09-13 17:45:13 +05:30
# port: 26381 # point to sentinel, not to redis port
test:
url: redis://localhost:6379
production:
# Redis (single instance)
url: unix:/var/run/redis/redis.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
# please read here for more information: https://docs.gitlab.com/ce/administration/high_availability/redis.html
##
# url: redis://master:6379
# sentinels:
# -
2020-05-24 23:13:21 +05:30
# host: replica1
2016-09-13 17:45:13 +05:30
# port: 26379 # point to sentinel, not to redis port
# -
2020-05-24 23:13:21 +05:30
# host: replica2
2016-09-13 17:45:13 +05:30
# port: 26379 # point to sentinel, not to redis port