mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
20039860eb
Amended documentation to point to it from the install guide in the alternative section Removed callout from the ubuntu guide, as it is unrelated
24 lines
419 B
YAML
24 lines
419 B
YAML
defaults: &defaults
|
|
uri: <%= uri = URI.parse( ENV['REDIS_ADDRESS'].nil? ? ENV['REDIS_PROVIDER_URL'] || "redis://localhost:6379" : "redis://#{ENV['REDIS_ADDRESS']}: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
|