mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
ffffee3ae1
This is very likely to cause merge conflict, it is for the greater good Discuss at: http://meta.discourse.org/t/enough-with-the-sample-files/10351 From now on we use ENV to customise if needed
23 lines
No EOL
348 B
YAML
23 lines
No EOL
348 B
YAML
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:
|
|
<<: *defaults
|
|
db: 1
|
|
|
|
staging:
|
|
<<: *defaults
|
|
|
|
production:
|
|
<<: *defaults |