mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-27 02:26:23 +09:00
Support Redis configuration with REDIS_URL env var
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
default: &default
|
||||
adapter: redis
|
||||
url: redis://localhost:6379
|
||||
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379" } %>
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Resque.redis = ENV.fetch("REDIS_URL") { "redis://localhost:6379" }
|
||||
Reference in New Issue
Block a user