summaryrefslogtreecommitdiff
path: root/config/redis.cache.yml.example
blob: fb92c205ce12f3d8ff6f949bc360c57c9d22a2df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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
#
development:
  url: redis://localhost:6379/10
  #
  # url: redis://localhost:6380
  # sentinels:
  #   -
  #     host: localhost
  #     port: 26380 # point to sentinel, not to redis port
  #   -
  #     host: replica2
  #     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
  # please read here for more information: https://docs.gitlab.com/ee/administration/redis/index.html
  ##
  # url: redis://master:6380
  # sentinels:
  #   -
  #     host: replica1
  #     port: 26380 # point to sentinel, not to redis port
  #   -
  #     host: replica2
  #     port: 26380 # point to sentinel, not to redis port