OLD | NEW |
(Empty) | |
| 1 # connection pool size |
| 2 db_pool = 5 |
| 3 |
| 4 # database timeout in milliseconds |
| 5 db_timeout = 5000 |
| 6 |
| 7 # socket file used to access db |
| 8 db_socket = |
| 9 |
| 10 # host address for db server |
| 11 # This is set to blank so it tries to use sockets first |
| 12 db_host = localhost |
| 13 |
| 14 # port running db server, no need to set it |
| 15 db_port = |
| 16 |
| 17 # database name running discourse |
| 18 db_name = discourse |
| 19 |
| 20 # username accessing database |
| 21 db_username = discourse |
| 22 |
| 23 # password used to access the db |
| 24 db_password = <%= @database_password %> |
| 25 |
| 26 # hostname running the forum |
| 27 hostname = <%= @domain %> |
| 28 |
| 29 # address of smtp server used to send emails |
| 30 smtp_address = |
| 31 |
| 32 # port of smtp server used to send emails |
| 33 smtp_port = 25 |
| 34 |
| 35 # domain passed to smtp server |
| 36 smtp_domain = |
| 37 |
| 38 # username for smtp server |
| 39 smtp_user_name = |
| 40 |
| 41 # password for smtp server |
| 42 smtp_password = |
| 43 |
| 44 # smtp authentication mechanism |
| 45 smtp_authentication = plain |
| 46 |
| 47 # enable TLS encryption for smtp connections |
| 48 smtp_enable_start_tls = true |
| 49 |
| 50 # enable MiniProfiler for administrators |
| 51 enable_mini_profiler = false |
| 52 |
| 53 # recommended, cdn used to access assets |
| 54 cdn_url = |
| 55 |
| 56 # comma delimited list of emails that have developer level access |
| 57 developer_emails = <% admins.each do |admin| %><%= admin %>, <% end %> |
| 58 |
| 59 # redis server address |
| 60 redis_host = localhost |
| 61 |
| 62 # redis server port |
| 63 redis_port = 6379 |
| 64 |
| 65 # redis database |
| 66 redis_db = 0 |
| 67 |
| 68 # redis password |
| 69 redis_password = |
| 70 |
| 71 # enable Cross-origin Resource Sharing (CORS) directly at the application level |
| 72 enable_cors = false |
| 73 cors_origin = '*' |
| 74 |
| 75 # enable if you really need to serve assets in prd |
| 76 serve_static_assets = false |
OLD | NEW |