debian-mirror-gitlab/spec/fixtures/config/redis_new_format_host.yml

30 lines
852 B
YAML
Raw Normal View History

2016-09-13 17:45:13 +05:30
# 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
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port
2016-09-13 17:45:13 +05:30
-
2020-05-24 23:13:21 +05:30
host: replica2
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port
2016-09-13 17:45:13 +05:30
test:
url: redis://:mynewpassword@localhost:6379/99
sentinels:
-
host: localhost
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port
2016-09-13 17:45:13 +05:30
-
2020-05-24 23:13:21 +05:30
host: replica2
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port
2016-09-13 17:45:13 +05:30
production:
url: redis://:mynewpassword@localhost:6379/99
sentinels:
-
2020-05-24 23:13:21 +05:30
host: replica1
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port
2016-09-13 17:45:13 +05:30
-
2020-05-24 23:13:21 +05:30
host: replica2
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port