2013-02-12 11:18:59 -05:00
|
|
|
development:
|
2015-10-18 23:02:22 -04:00
|
|
|
prepared_statements: false
|
2013-02-12 11:18:59 -05:00
|
|
|
adapter: postgresql
|
2017-09-04 12:14:34 -04:00
|
|
|
database: <%= ENV['DISCOURSE_DEV_DB'] || 'discourse_development' %>
|
2013-03-01 12:45:25 -05:00
|
|
|
min_messages: warning
|
2017-09-26 23:55:06 -04:00
|
|
|
pool: 5
|
2013-02-12 11:18:59 -05:00
|
|
|
timeout: 5000
|
2017-10-27 09:59:30 -04:00
|
|
|
checkout_timeout: <%= ENV['CHECKOUT_TIMEOUT'] || 5 %>
|
2013-02-12 11:18:59 -05:00
|
|
|
host_names:
|
2013-12-06 11:01:22 -05:00
|
|
|
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
|
2013-08-01 16:24:55 -04:00
|
|
|
### If you change this setting you will need to
|
|
|
|
### - restart sidekiq if you change this setting
|
|
|
|
### - rebake all to posts using: `RAILS_ENV=production bundle exec rake posts:rebake`
|
2013-02-12 11:18:59 -05:00
|
|
|
- "localhost"
|
|
|
|
|
|
|
|
# Warning: The database defined as "test" will be erased and
|
|
|
|
# re-generated from your development database when you run "rake".
|
|
|
|
# Do not set this db to the same as development or production.
|
|
|
|
test:
|
2016-03-29 14:41:13 -04:00
|
|
|
prepared_statements: false
|
2013-02-12 11:18:59 -05:00
|
|
|
adapter: postgresql
|
2017-08-07 09:05:13 -04:00
|
|
|
database: discourse_test<%= ENV['MULTISITE'] ? "_#{ENV['MULTISITE']}" : '' %>
|
2013-03-01 12:45:25 -05:00
|
|
|
min_messages: warning
|
2017-09-26 23:55:06 -04:00
|
|
|
pool: 5
|
2013-02-12 11:18:59 -05:00
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
|
|
|
- test.localhost
|
|
|
|
|
2014-08-14 00:46:57 -04:00
|
|
|
# profile db is used for benchmarking using the script/bench.rb script
|
2013-03-10 20:21:56 -04:00
|
|
|
profile:
|
2015-10-18 23:02:22 -04:00
|
|
|
prepared_statements: false
|
2013-03-10 20:21:56 -04:00
|
|
|
adapter: postgresql
|
2013-08-04 17:22:00 -04:00
|
|
|
database: discourse_profile
|
2013-03-10 20:21:56 -04:00
|
|
|
min_messages: warning
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
|
|
|
- "localhost"
|
2013-12-18 00:46:37 -05:00
|
|
|
|
2014-01-14 00:59:55 -05:00
|
|
|
# You may be surprised production is not here, it is sourced from application.rb using a monkey patch
|
|
|
|
# This is done for 2 reasons
|
|
|
|
#
|
|
|
|
# 1. we need to support blank settings correctly and rendering nothing in yaml/erb is a PITA
|
|
|
|
# 2. why go from object -> yaml -> object, pointless
|