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

13 lines
578 B
YAML

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 } %>
password: <%= ENV.fetch('RAILS_CACHE_REDIS_PASSWORD') { 'password' } %>
production:
host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
port: 25061
password: <%= Rails.application.credentials.sidekiq_cache_redis_password %>
db: 1
ssl:
ca_file: <%= Rails.root.join 'config', 'redis.ca' %>