2015-11-27 16:32:32 +00:00
|
|
|
# redis://[:password@]host[:port][/db-number][?option=value]
|
|
|
|
# more details: http://www.iana.org/assignments/uri-schemes/prov/redis
|
|
|
|
development:
|
2021-06-01 18:10:04 +00:00
|
|
|
url: redis://:mynewpassword@development-host:6379/99
|
2015-11-27 16:32:32 +00:00
|
|
|
sentinels:
|
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: development-replica1
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 16:32:32 +00:00
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: development-replica2
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 16:32:32 +00:00
|
|
|
test:
|
2021-06-01 18:10:04 +00:00
|
|
|
url: redis://:mynewpassword@test-host:6379/99
|
2015-11-27 16:32:32 +00:00
|
|
|
sentinels:
|
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: test-replica1
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 16:32:32 +00:00
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: test-replica2
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 16:32:32 +00:00
|
|
|
production:
|
2021-06-01 18:10:04 +00:00
|
|
|
url: redis://:mynewpassword@production-host:6379/99
|
2015-11-27 16:32:32 +00:00
|
|
|
sentinels:
|
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: production-replica1
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|
2015-11-27 16:32:32 +00:00
|
|
|
-
|
2021-06-01 18:10:04 +00:00
|
|
|
host: production-replica2
|
2017-07-11 03:35:47 +00:00
|
|
|
port: 26379 # point to sentinel, not to redis port
|