Chatwoot/config/initializers
sony-mathew 2168f823a5 [#446] Redis authentication support
Previously we did not support authentication for redis anywhere. Also in the docker compose we were exposing redis port 6379 without any authentication. In the app side for the connections that app server (for storing keys as well as for socket connections made using action cable) and Sidekiq were making to redis server did not support authentication.

With this commit, we support authentication for redis connections from app side and Sidekiq. This is supported in docker-compose as well.

The changes include :
* Added support for new env variable REDIS_PASSWORD
* This redis password is now supported by action cable connections, Sidekiq connections and app side redis connections
* Since Sidekiq did not have an initializer, added an initializer to pass custom config to Sidekiq (for now it's options for redis)
* Changes in docker-compose to pickup a password set in .env file to protect the redis server running in docker
* Added necessary documentation changes in `docker.md` and `environment-variables.md`
2020-01-26 22:46:34 +05:45
..
00_init.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
application_controller_renderer.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
assets.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
backtrace_silencers.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
bot.rb 🔥Docker and environment variables cleanup (#270) 2019-11-24 01:27:39 +05:30
carrierwave.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
content_security_policy.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
cookies_serializer.rb Initial Commit 2019-08-14 15:18:44 +05:30
custom_error_codes.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
devise.rb Chore: Ability to configure Mailer sender emails [#339] (#342) 2019-12-03 22:54:08 +05:30
devise_token_auth.rb Initial Commit 2019-08-14 15:18:44 +05:30
event_handlers.rb Refactor Conversation model (#134) 2019-10-12 23:38:41 +05:30
feature_policy.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
filter_parameter_logging.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
inflections.rb Initial Commit 2019-08-14 15:18:44 +05:30
mime_types.rb Initial Commit 2019-08-14 15:18:44 +05:30
new_framework_defaults_6_0.rb Upgrade to rails 6 💎 (#11) 2019-08-19 13:49:57 +05:30
redis.rb [#446] Redis authentication support 2020-01-26 22:46:34 +05:45
sentry.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
session_store.rb Initial Commit 2019-08-14 15:18:44 +05:30
sidekiq.rb [#446] Redis authentication support 2020-01-26 22:46:34 +05:45
warden_hooks.rb 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
wrap_parameters.rb Initial Commit 2019-08-14 15:18:44 +05:30