debian-mirror-gitlab/spec/fixtures/config/redis_new_format_host.yml
2020-05-25 16:23:42 +05:30

29 lines
852 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@localhost:6379/99
sentinels:
-
host: localhost
port: 26379 # point to sentinel, not to redis port
-
host: replica2
port: 26379 # point to sentinel, not to redis port
test:
url: redis://:mynewpassword@localhost:6379/99
sentinels:
-
host: localhost
port: 26379 # point to sentinel, not to redis port
-
host: replica2
port: 26379 # point to sentinel, not to redis port
production:
url: redis://:mynewpassword@localhost:6379/99
sentinels:
-
host: replica1
port: 26379 # point to sentinel, not to redis port
-
host: replica2
port: 26379 # point to sentinel, not to redis port