mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
23 lines
No EOL
352 B
Text
23 lines
No EOL
352 B
Text
defaults: &defaults
|
|
uri: <%= uri = URI.parse(ENV['SET_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:
|
|
<<: *defaults
|
|
db: 1
|
|
|
|
staging:
|
|
<<: *defaults
|
|
|
|
production:
|
|
<<: *defaults |