development:
prepared_statements: false
adapter: postgresql
database: <%= ENV['DISCOURSE_DEV_DB'] || 'discourse_development' %>
min_messages: warning
pool: 5
timeout: 5000
checkout_timeout: <%= ENV['CHECKOUT_TIMEOUT'] || 5 %>
advisory_locks: false # Disable until https://github.com/rails/rails/issues/40029 has beeen resolved.
host_names:
### Don't include the port number here. Change the "port" site setting instead, at /admin/site_settings.
### 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"
I presume the only line I need to change (aside from the first line) for copy / pasting a production block is the “database:” line?
It looks like you would be better off asking this question over at meta.discourse.org. If you are wanting to self-host Discourse though, you shouldn’t have to fork and change any files.