about summary refs log tree commit diff
path: root/config/cable.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/cable.yml')
-rw-r--r--config/cable.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/cable.yml b/config/cable.yml
new file mode 100644
index 0000000..b11b63f
--- /dev/null
+++ b/config/cable.yml
@@ -0,0 +1,11 @@
+development:
+  adapter: redis
+  url: redis://localhost:6379/1
+
+test:
+  adapter: test
+
+production:
+  adapter: redis
+  url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
+  channel_prefix: knockout_production