gitlab-org--gitlab-foss/spec/fixtures/config/redis_new_format_host.yml

29 lines
919 B
YAML

# redis://[:password@]host[:port][/db-number][?option=value]
# more details: http://www.iana.org/assignments/uri-schemes/prov/redis
development:
url: redis://:mynewpassword@development-host:6379/99
sentinels:
-
host: development-replica1
port: 26379 # point to sentinel, not to redis port
-
host: development-replica2
port: 26379 # point to sentinel, not to redis port
test:
url: redis://:mynewpassword@test-host:6379/99
sentinels:
-
host: test-replica1
port: 26379 # point to sentinel, not to redis port
-
host: test-replica2
port: 26379 # point to sentinel, not to redis port
production:
url: redis://:mynewpassword@production-host:6379/99
sentinels:
-
host: production-replica1
port: 26379 # point to sentinel, not to redis port
-
host: production-replica2
port: 26379 # point to sentinel, not to redis port