mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 22:21:55 +08:00
77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
|
#
|
||
|
# DO NOT EDIT THIS FILE
|
||
|
# If you need to make changes create a file called discourse.conf in this directory with your changes
|
||
|
|
||
|
# 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.
|
||
|
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
|
||
|
|
||
|
# All settings apply to production only
|
||
|
|
||
|
# connection pool size
|
||
|
db_pool = 5
|
||
|
|
||
|
# database timeout in milliseconds
|
||
|
db_timeout = 5000
|
||
|
|
||
|
# socket file used to access db
|
||
|
db_socket
|
||
|
|
||
|
# host address for db server
|
||
|
db_host = localhost
|
||
|
|
||
|
# port running db server
|
||
|
db_port, 5432],
|
||
|
|
||
|
# 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 =
|
||
|
|
||
|
# enable TLS encryption for smtp connections
|
||
|
smtp_enable_start_tls = true
|
||
|
|
||
|
# enable MiniProfiler for administrators
|
||
|
enable_mini_profiler = true
|
||
|
|
||
|
# recommended, cdn used to access assets
|
||
|
cdn_url =
|
||
|
|
||
|
# comma delimited list of emails that have devloper level access
|
||
|
developer_emails =
|
||
|
|
||
|
# redis server address
|
||
|
redis_host = localhost
|
||
|
|
||
|
# redis server port
|
||
|
redis_port = 6379
|
||
|
|
||
|
# redis password
|
||
|
redis_password =
|