summaryrefslogtreecommitdiff
path: root/spec/fixtures/config/redis_new_format_host.yml
blob: dc8d74c63fa7a5a9098fa5f05fd8f209bb347c09 (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
# redis://[:password@]host[:port][/db-number][?option=value]
# more details: http://www.iana.org/assignments/uri-schemes/prov/redis
development:
  url: redis://:mynewpassword@localhost:6379/99
  sentinels:
    -
      host: localhost
      port: 26379 # point to sentinel, not to redis port
    -
      host: replica2
      port: 26379 # point to sentinel, not to redis port
test:
  url: redis://:mynewpassword@localhost:6379/99
  sentinels:
    -
      host: localhost
      port: 26379 # point to sentinel, not to redis port
    -
      host: replica2
      port: 26379 # point to sentinel, not to redis port
production:
  url: redis://:mynewpassword@localhost:6379/99
  sentinels:
    -
      host: replica1
      port: 26379 # point to sentinel, not to redis port
    -
      host: replica2
      port: 26379 # point to sentinel, not to redis port