mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 02:43:43 +08:00
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
development:
|
|
adapter: postgresql
|
|
database: discourse_development
|
|
min_messages: warning
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
host_names:
|
|
### 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`
|
|
- "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
|
|
min_messages: warning
|
|
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:
|
|
### 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`
|
|
- production.localhost # Update this to be the domain of your production site
|
|
|
|
profile:
|
|
adapter: postgresql
|
|
database: discourse_profile
|
|
min_messages: warning
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
host_names:
|
|
- "localhost"
|