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/settings/cache_store.yml

20 lines
697 B
YAML

default: &default
host: <%= ENV.fetch('RAILS_CACHE_REDIS_HOST') { 'localhost' } %>
port: <%= ENV.fetch('RAILS_CACHE_REDIS_PORT') { 6379 } %>
password: <%= ENV.fetch('RAILS_CACHE_REDIS_PASSWORD') { 'password' } %>
staging:
<<: *default
db: <%= ENV.fetch('RAILS_CACHE_REDIS_DB') { 11 } %>
ssl: true
ssl_params:
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>
production:
<<: *default
db: <%= ENV.fetch('RAILS_CACHE_REDIS_DB') { 1 } %>
ssl: true
ssl_params:
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>