2013-02-12 11:18:59 -05:00
|
|
|
defaults: &defaults
|
2013-05-20 20:41:33 -04:00
|
|
|
uri: <%= uri = URI.parse(ENV['REDIS_PROVIDER_URL'] || "redis://localhost:6379") %>
|
2013-03-15 11:54:21 -04:00
|
|
|
host: <%= uri.host %>
|
|
|
|
port: <%= uri.port %>
|
|
|
|
password: <%= uri.password %>
|
2013-02-12 11:18:59 -05:00
|
|
|
db: 0
|
|
|
|
cache_db: 2
|
|
|
|
|
|
|
|
development:
|
|
|
|
<<: *defaults
|
|
|
|
|
2013-03-10 20:21:56 -04:00
|
|
|
profile:
|
|
|
|
<<: *defaults
|
|
|
|
|
2013-02-12 11:18:59 -05:00
|
|
|
test:
|
2013-03-10 08:51:49 -04:00
|
|
|
<<: *defaults
|
2013-02-12 11:18:59 -05:00
|
|
|
db: 1
|
|
|
|
|
|
|
|
staging:
|
|
|
|
<<: *defaults
|
|
|
|
|
|
|
|
production:
|
2013-03-15 11:54:21 -04:00
|
|
|
<<: *defaults
|