1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/cache_store.yml
2018-12-09 08:47:11 +05:00

12 lines
407 B
YAML

default: &default
host: <%= ENV.fetch('RAILS_CACHE_REDIS_HOST') { 'localhost' } %>
port: <%= ENV.fetch('RAILS_CACHE_REDIS_PORT') { 6379 } %>
db: <%= ENV.fetch('RAILS_CACHE_REDIS_DB') { 1 } %>
development:
<<: *default
password: <%= ENV.fetch('RAILS_CACHE_REDIS_PASSWORD') { 'password' } %>
production:
<<: *default
password: <%= Rails.application.credentials.rails_cache_redis_password %>