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/sidekiq_client.yml

33 lines
1.1 KiB
YAML
Raw Normal View History

2018-12-08 21:47:19 -05:00
default: &default
2019-09-09 18:56:22 -04:00
host: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_HOST') { 'localhost' } %>
port: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_PORT') { 6379 } %>
password: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_PASSWORD') { 'password' } %>
2018-12-08 21:47:19 -05:00
development:
2019-09-08 18:25:59 -04:00
<<: *default
2019-09-09 18:56:22 -04:00
db: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_DB') { 0 } %>
2018-12-08 21:47:19 -05:00
test:
2019-09-08 18:25:59 -04:00
<<: *default
2019-09-09 18:56:22 -04:00
db: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_DB') { 15 } %>
2018-12-08 21:47:19 -05:00
2019-10-14 23:27:32 -04:00
staging:
host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
port: 25061
password: <%= Rails.application.credentials.sidekiq_client_redis_password %>
db: 10
ssl: true
ssl_params:
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>
2018-12-08 21:47:19 -05:00
production:
2019-09-09 18:56:22 -04:00
host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
port: 25061
password: <%= Rails.application.credentials.sidekiq_client_redis_password %>
db: 0
2019-09-09 19:20:50 -04:00
ssl: true
ssl_params:
2019-09-09 19:47:47 -04:00
verify_mode: <%= OpenSSL::SSL::VERIFY_NONE %>
2019-09-13 14:43:42 -04:00
ca_file: <%= Rails.root.join 'config', 'certs', 'redis.crt' %>