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

30 lines
919 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:
2021-09-04 01:27:46 +05:30
url: redis://:mynewpassword@development-host:6379/99
2016-09-13 17:45:13 +05:30
sentinels:
-
2021-09-04 01:27:46 +05:30
host: development-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
-
2021-09-04 01:27:46 +05:30
host: development-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:
2021-09-04 01:27:46 +05:30
url: redis://:mynewpassword@test-host:6379/99
2016-09-13 17:45:13 +05:30
sentinels:
-
2021-09-04 01:27:46 +05:30
host: test-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
-
2021-09-04 01:27:46 +05:30
host: test-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:
2021-09-04 01:27:46 +05:30
url: redis://:mynewpassword@production-host:6379/99
2016-09-13 17:45:13 +05:30
sentinels:
-
2021-09-04 01:27:46 +05:30
host: production-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
-
2021-09-04 01:27:46 +05:30
host: production-replica2
2017-09-10 17:25:29 +05:30
port: 26379 # point to sentinel, not to redis port