25 lines
1,017 B
YAML
25 lines
1,017 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' } %>
|
|
|
|
staging:
|
|
host: 'private-db-redis-lon1-72645-do-user-4455684-0.db.ondigitalocean.com'
|
|
port: 25061
|
|
password: <%= Rails.application.credentials.rails_cache_redis_password %>
|
|
db: 11
|
|
ssl: true
|
|
ssl_params:
|
|
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
|
|
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>
|
|
|
|
production:
|
|
host: 'private-db-redis-lon1-72645-do-user-4455684-0.db.ondigitalocean.com'
|
|
port: 25061
|
|
password: <%= Rails.application.credentials.rails_cache_redis_password %>
|
|
db: 1
|
|
ssl: true
|
|
ssl_params:
|
|
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
|
|
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>
|