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
2019-09-10 04:05:28 +05:00

20 lines
687 B
YAML

default: &default
host: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_HOST') { 'localhost' } %>
port: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_PORT') { 6379 } %>
password: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_PASSWORD') { 'password' } %>
development:
<<: *default
db: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_DB') { 0 } %>
test:
<<: *default
db: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_DB') { 15 } %>
production:
host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
port: 25061
password: <%= Rails.application.credentials.sidekiq_server_redis_password %>
db: 0
ssl:
ca_file: <%= Rails.root.join 'config', 'redis.crt' %>