mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 06:22:31 -05:00
26 lines
897 B
Text
26 lines
897 B
Text
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:
|
|
### 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`
|
|
- <%= ENV["DISCOURSE_HOSTNAME"] || "production.localhost" %> # Update this to be the domain of your production site
|
|
|
|
test:
|
|
adapter: postgresql
|
|
database: discourse_test
|
|
# username: discourse_test
|
|
# password: 123123123123
|
|
min_messages: warning
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
host_names:
|
|
- test.localhost
|