2015-11-27 11:32:32 -05:00
|
|
|
# redis://[:password@]host[:port][/db-number][?option=value]
|
|
|
|
# more details: http://www.iana.org/assignments/uri-schemes/prov/redis
|
|
|
|
development:
|
2016-08-05 21:01:52 -04:00
|
|
|
url: redis://:mynewpassword@localhost:6379/99
|
2015-11-27 11:32:32 -05:00
|
|
|
sentinels:
|
|
|
|
-
|
|
|
|
host: localhost
|
|
|
|
port: 26380 # point to sentinel, not to redis port
|
|
|
|
-
|
|
|
|
host: slave2
|
|
|
|
port: 26381 # point to sentinel, not to redis port
|
|
|
|
test:
|
2016-08-05 21:01:52 -04:00
|
|
|
url: redis://:mynewpassword@localhost:6379/99
|
2015-11-27 11:32:32 -05:00
|
|
|
sentinels:
|
|
|
|
-
|
|
|
|
host: localhost
|
|
|
|
port: 26380 # point to sentinel, not to redis port
|
|
|
|
-
|
|
|
|
host: slave2
|
|
|
|
port: 26381 # point to sentinel, not to redis port
|
|
|
|
production:
|
2016-08-05 21:01:52 -04:00
|
|
|
url: redis://:mynewpassword@localhost:6379/99
|
2015-11-27 11:32:32 -05:00
|
|
|
sentinels:
|
|
|
|
-
|
|
|
|
host: slave1
|
|
|
|
port: 26380 # point to sentinel, not to redis port
|
|
|
|
-
|
|
|
|
host: slave2
|
|
|
|
port: 26381 # point to sentinel, not to redis port
|