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