2013-02-12 10:18:59 -06:00
|
|
|
development:
|
|
|
|
adapter: postgresql
|
|
|
|
database: discourse_development
|
2013-03-01 11:45:25 -06:00
|
|
|
min_messages: warning
|
2013-02-12 10:18:59 -06:00
|
|
|
host: localhost
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
2013-08-01 15:24:55 -05: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 10:18:59 -06: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:
|
|
|
|
adapter: postgresql
|
|
|
|
database: discourse_test
|
2013-03-01 11:45:25 -06:00
|
|
|
min_messages: warning
|
2013-02-12 10:18:59 -06:00
|
|
|
host: localhost
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
|
|
|
- test.localhost
|
|
|
|
|
|
|
|
# using the test db, so jenkins can run this config
|
|
|
|
# we need it to be in production so it minifies assets
|
|
|
|
production:
|
|
|
|
adapter: postgresql
|
|
|
|
database: discourse_development
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
2013-08-01 15:24:55 -05: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-28 16:13:07 -06:00
|
|
|
- production.localhost # Update this to be the domain of your production site
|
2013-03-10 19:21:56 -05:00
|
|
|
|
|
|
|
profile:
|
|
|
|
adapter: postgresql
|
2013-08-04 16:22:00 -05:00
|
|
|
database: discourse_profile
|
2013-03-10 19:21:56 -05:00
|
|
|
min_messages: warning
|
|
|
|
host: localhost
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
|
|
|
- "localhost"
|