mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
6257c48613
* added RVM option for single-user install * clarified Web Server options * bluepill sample config: create socket directory if it doesn't exist * add multisite.yml.production-sample * rename production.sample.rb (OCD) * make two database.yml samples (one for dev, one for prod) * fixed travis build (database.yml.sample renamed) * fix other references to database.yml.sample * clean up 'rvm requirements' instructions as per @mpapis
42 lines
983 B
Text
42 lines
983 B
Text
development:
|
|
adapter: postgresql
|
|
database: discourse_development
|
|
min_messages: warning
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
host_names:
|
|
- "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:
|
|
- production.localhost # Update this to be the domain of your production site
|
|
|
|
profile:
|
|
adapter: postgresql
|
|
database: discourse_development
|
|
min_messages: warning
|
|
host: localhost
|
|
pool: 5
|
|
timeout: 5000
|
|
host_names:
|
|
- "localhost"
|