Chatwoot/config/cable.yml

21 lines
460 B
YAML
Raw Permalink Normal View History

default: &default
adapter: redis
url: <%= ENV.fetch('REDIS_URL', 'redis://127.0.0.1:6379') %>
password: <%= ENV.fetch('REDIS_PASSWORD', nil).presence %>
ssl_params:
verify_mode: <%= Chatwoot.redis_ssl_verify_mode %>
channel_prefix: <%= "chatwoot_#{Rails.env}_action_cable" %>
development:
<<: *default
test:
adapter: test
channel_prefix: <%= "chatwoot_#{Rails.env}_action_cable" %>
staging:
<<: *default
production:
<<: *default