resque.yml.example 1.04 KB
Newer Older
1
2
# 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
3
#
4
5
development:
  url: redis://localhost:6379
6
7
8
9
10
  # sentinels:
  #   -
  #     host: localhost
  #     port: 26380 # point to sentinel, not to redis port
  #   -
11
  #     host: replica2
12
  #     port: 26381 # point to sentinel, not to redis port
13
14
15
16
17
18
19
20
test:
  url: redis://localhost:6379
production:
  # Redis (single instance)
  url: unix:/var/run/redis/redis.sock
  ##
  # Redis + Sentinel (for HA)
  #
21
  # Please read instructions carefully before using it as you may lose data:
22
23
24
  # http://redis.io/topics/sentinel
  #
  # You must specify a list of a few sentinels that will handle client connection
Marcel Amirault's avatar
Marcel Amirault committed
25
  # please read here for more information: https://docs.gitlab.com/ee/administration/redis/index.html
26
  ##
27
28
29
  # url: redis://master:6379
  # sentinels:
  #   -
30
  #     host: replica1
31
32
  #     port: 26379 # point to sentinel, not to redis port
  #   -
33
  #     host: replica2
34
  #     port: 26379 # point to sentinel, not to redis port