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
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 11:32:32 -05:00
|
|
|
-
|
2020-05-15 05:07:59 -04:00
|
|
|
host: replica2
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 11:32:32 -05:00
|
|
|
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
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 11:32:32 -05:00
|
|
|
-
|
2020-05-15 05:07:59 -04:00
|
|
|
host: replica2
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 11:32:32 -05:00
|
|
|
production:
|
2016-08-05 21:01:52 -04:00
|
|
|
url: redis://:mynewpassword@localhost:6379/99
|
2015-11-27 11:32:32 -05:00
|
|
|
sentinels:
|
|
|
|
-
|
2020-05-15 05:07:59 -04:00
|
|
|
host: replica1
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 11:32:32 -05:00
|
|
|
-
|
2020-05-15 05:07:59 -04:00
|
|
|
host: replica2
|
2017-07-10 23:35:47 -04:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|