canvas-lms/docker-compose/config/redis.yml

21 lines
594 B
YAML

production:
servers:
- redis://redis
development:
servers:
- redis://redis
test:
# only tests that are exercising the integration with redis require redis to run.
servers:
- redis://redis
# warning: the redis database will get cleared before each test, so if you
# use this server for anything else, make sure to set aside a database id for
# these tests to use.
db: <%= ENV.fetch('PARALLEL_INDEX', '1') %>
# when using RspecQ under test, ignore redis guards to allow execution of
# unsafe redis commands against redis test queue.
ignore_redis_guards: true