Connect to Redis through private network
This commit is contained in:
parent
42f5233d4e
commit
e0d3d436ab
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ default:
|
|||
password: <%= ENV.fetch('RAILS_CACHE_REDIS_PASSWORD') { 'password' } %>
|
||||
|
||||
production:
|
||||
host: 'db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
|
||||
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
|
||||
|
|
|
@ -12,7 +12,7 @@ test:
|
|||
redis_db: <%= ENV.fetch('SIDEKIQ_CLIENT_REDIS_DB') { 15 } %>
|
||||
|
||||
production:
|
||||
redis_host: 'db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
|
||||
redis_host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
|
||||
redis_port: 25061
|
||||
redis_password: <%= Rails.application.credentials.sidekiq_client_redis_password %>
|
||||
redis_db: 0
|
||||
|
|
|
@ -12,7 +12,7 @@ test:
|
|||
redis_db: <%= ENV.fetch('SIDEKIQ_SERVER_REDIS_DB') { 15 } %>
|
||||
|
||||
production:
|
||||
redis_host: 'db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
|
||||
redis_host: 'private-db-redis-ams3-76837-do-user-4455684-0.db.ondigitalocean.com'
|
||||
redis_port: 25061
|
||||
redis_password: <%= Rails.application.credentials.sidekiq_server_redis_password %>
|
||||
redis_db: 0
|
||||
|
|
Reference in a new issue