2013-05-24 23:25:03 -04:00
|
|
|
production:
|
|
|
|
adapter: postgresql
|
|
|
|
database: discourse_prod
|
|
|
|
# username: discourse_prod # if using username/password auth
|
|
|
|
# password: itisagooddaytovi # if using username/password auth
|
|
|
|
# host: dbhost # if not localhost
|
|
|
|
pool: 5 # size of DB connection pool *per process*
|
|
|
|
timeout: 5000
|
|
|
|
# db_id: 0 # database ID if hosting multiple sites
|
|
|
|
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-10-27 19:35:53 -04:00
|
|
|
- <%= ENV["DISCOURSE_HOSTNAME"] || "production.localhost" %> # Update this to be the domain of your production site
|
2013-05-24 23:25:03 -04:00
|
|
|
|
|
|
|
test:
|
|
|
|
adapter: postgresql
|
|
|
|
database: discourse_test
|
|
|
|
# username: discourse_test
|
|
|
|
# password: 123123123123
|
|
|
|
min_messages: warning
|
|
|
|
host: localhost
|
|
|
|
pool: 5
|
|
|
|
timeout: 5000
|
|
|
|
host_names:
|
|
|
|
- test.localhost
|