discourse/config/redis.yml.sample

23 lines
348 B
Plaintext
Raw Normal View History

defaults: &defaults
uri: <%= uri = URI.parse(ENV['REDIS_PROVIDER_URL'] || "redis://localhost:6379") %>
host: <%= uri.host %>
port: <%= uri.port %>
password: <%= uri.password %>
db: 0
cache_db: 2
development:
<<: *defaults
profile:
<<: *defaults
test:
2013-03-10 08:51:49 -04:00
<<: *defaults
db: 1
staging:
<<: *defaults
production:
<<: *defaults