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_server.yml

21 lines
746 B
YAML
Raw Normal View History

2018-12-08 21:47:19 -05:00
default: &default
2019-09-08 18:25:59 -04:00
redis_host: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_HOST') { 'localhost' } %>
redis_port: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_PORT') { 6379 } %>
redis_password: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_PASSWORD') { 'password' } %>
2018-12-08 21:47:19 -05:00
development:
2019-09-08 18:25:59 -04:00
<<: *default
2018-12-08 21:47:19 -05:00
redis_db: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_DB') { 0 } %>
test:
2019-09-08 18:25:59 -04:00
<<: *default
2018-12-08 21:47:19 -05:00
redis_db: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_DB') { 15 } %>
production:
redis_host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
2019-09-08 18:25:59 -04:00
redis_port: 25061
2018-12-08 21:47:19 -05:00
redis_password: <%= Rails.application.credentials.sidekiq_server_redis_password %>
2019-09-09 15:50:03 -04:00
redis_db: 0
2019-09-09 18:54:27 -04:00
redis_ssl:
ca_file: <%= Rails.root.join 'config', 'redis.ca' %>