documentation/config/cable.yml

11 lines
275 B
YAML
Raw Normal View History

2016-08-17 17:56:23 +02:00
development:
2016-08-18 15:49:51 +02:00
adapter: redis
url: redis://localhost:6379/1
2016-08-17 17:56:23 +02:00
test:
adapter: async
production:
adapter: redis
2017-01-17 12:00:03 +01:00
url: redis://<%= ENV['REDIS_PASSWORD'] ? ':' + ENV['REDIS_PASSWORD'] + '@' : '' %><%= ENV['REDIS_HOST'] || 'localhost' %>:<%= ENV['REDIS_PORT'] || 6379 %>/1