2013-12-19 23:17:21 -06:00
|
|
|
#
|
|
|
|
# DO NOT EDIT THIS FILE
|
|
|
|
# If you need to make changes create a file called discourse.conf in this directory with your changes
|
2014-06-03 17:38:10 -05:00
|
|
|
# On import this file will be imported using ERB
|
2013-12-20 01:01:41 -06:00
|
|
|
#
|
2013-12-19 23:17:21 -06:00
|
|
|
|
|
|
|
# Discourse supports multiple mechanisms for production config.
|
|
|
|
#
|
|
|
|
# 1. You can do nothing and get these defaults (not recommended, you should at least set hostname)
|
|
|
|
# 2. You can copy this file to config/discourse.conf and amend with your settings
|
|
|
|
# 3. You can pass in config from your environment, all the settings below are available.
|
2013-12-20 01:01:41 -06:00
|
|
|
# Append DISCOURSE_ and upper case the setting in ENV. For example:
|
|
|
|
# to pass in db_timeout of 200 you would use DISCOURSE_DB_TIMEOUT=200
|
2013-12-19 23:17:21 -06:00
|
|
|
|
|
|
|
# All settings apply to production only
|
|
|
|
|
2014-05-21 18:00:24 -05:00
|
|
|
# connection pool size, sidekiq is set to 5, allowing an extra 3 for bg threads
|
|
|
|
db_pool = 8
|
2013-12-19 23:17:21 -06:00
|
|
|
|
|
|
|
# database timeout in milliseconds
|
|
|
|
db_timeout = 5000
|
|
|
|
|
|
|
|
# socket file used to access db
|
2013-12-19 23:23:01 -06:00
|
|
|
db_socket =
|
2013-12-19 23:17:21 -06:00
|
|
|
|
|
|
|
# host address for db server
|
2014-01-05 19:25:29 -06:00
|
|
|
# This is set to blank so it tries to use sockets first
|
|
|
|
db_host =
|
2013-12-19 23:17:21 -06:00
|
|
|
|
2014-01-05 19:25:29 -06:00
|
|
|
# port running db server, no need to set it
|
|
|
|
db_port =
|
2013-12-19 23:17:21 -06:00
|
|
|
|
|
|
|
# database name running discourse
|
|
|
|
db_name = discourse
|
|
|
|
|
|
|
|
# username accessing database
|
|
|
|
db_username = discourse
|
|
|
|
|
|
|
|
# password used to access the db
|
|
|
|
db_password =
|
|
|
|
|
|
|
|
# hostname running the forum
|
|
|
|
hostname = "www.example.com"
|
|
|
|
|
|
|
|
# address of smtp server used to send emails
|
|
|
|
smtp_address =
|
|
|
|
|
|
|
|
# port of smtp server used to send emails
|
|
|
|
smtp_port = 25
|
|
|
|
|
|
|
|
# domain passed to smtp server
|
|
|
|
smtp_domain =
|
|
|
|
|
|
|
|
# username for smtp server
|
|
|
|
smtp_user_name =
|
|
|
|
|
|
|
|
# password for smtp server
|
|
|
|
smtp_password =
|
|
|
|
|
2014-01-06 06:49:42 -06:00
|
|
|
# smtp authentication mechanism
|
|
|
|
smtp_authentication = plain
|
|
|
|
|
2013-12-19 23:17:21 -06:00
|
|
|
# enable TLS encryption for smtp connections
|
|
|
|
smtp_enable_start_tls = true
|
|
|
|
|
2014-05-07 16:59:05 -05:00
|
|
|
# mode for verifying smtp server certificates
|
|
|
|
# to disable, set to 'none'
|
|
|
|
smtp_openssl_verify_mode =
|
|
|
|
|
2013-12-19 23:17:21 -06:00
|
|
|
# enable MiniProfiler for administrators
|
|
|
|
enable_mini_profiler = true
|
|
|
|
|
|
|
|
# recommended, cdn used to access assets
|
|
|
|
cdn_url =
|
|
|
|
|
2014-02-10 01:11:52 -06:00
|
|
|
# comma delimited list of emails that have developer level access
|
2013-12-19 23:17:21 -06:00
|
|
|
developer_emails =
|
|
|
|
|
|
|
|
# redis server address
|
|
|
|
redis_host = localhost
|
|
|
|
|
|
|
|
# redis server port
|
|
|
|
redis_port = 6379
|
|
|
|
|
2013-12-30 15:39:43 -06:00
|
|
|
# redis database
|
|
|
|
redis_db = 0
|
|
|
|
|
2013-12-19 23:17:21 -06:00
|
|
|
# redis password
|
|
|
|
redis_password =
|
2014-02-10 01:11:52 -06:00
|
|
|
|
|
|
|
# enable Cross-origin Resource Sharing (CORS) directly at the application level
|
|
|
|
enable_cors = false
|
|
|
|
cors_origin = '*'
|
2014-02-16 17:43:57 -06:00
|
|
|
|
|
|
|
# enable if you really need to serve assets in prd
|
|
|
|
serve_static_assets = false
|
2014-05-13 19:21:11 -05:00
|
|
|
|
|
|
|
# number of sidekiq workers (launched via unicorn master)
|
|
|
|
sidekiq_workers = 5
|