25 lines
574 B
YAML
25 lines
574 B
YAML
development:
|
|
sessions:
|
|
default:
|
|
database: farmbot_web_development
|
|
hosts:
|
|
- localhost:27017
|
|
options:
|
|
options:
|
|
test:
|
|
sessions:
|
|
default:
|
|
database: farmbot_web_test
|
|
hosts:
|
|
- <%= ENV['MONGO_HOST'] || 'localhost:27017' %>
|
|
options:
|
|
read: primary
|
|
# In the test environment we lower the retries and retry interval to
|
|
# low amounts for fast failures.
|
|
max_retries: 1
|
|
retry_interval: 0
|
|
production:
|
|
sessions:
|
|
default:
|
|
uri: <%= ENV['MONGOHQ_URL'] || ENV['MONGO_URL'] %>
|