##// END OF EJS Templates
configs: updated docstrings, and improved explanation of some settings
marcink -
r631:dce4efba default
parent child Browse files
Show More
@@ -1,23 +1,36 b''
1 ################################################################################
1
2
2 ################################################################################
3 ################################################################################
3 # RhodeCode Enterprise - configuration file #
4 ## RHODECODE ENTERPRISE CONFIGURATION ##
4 # Built-in functions and variables #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 # #
7 ################################################################################
6 ################################################################################
8
7
9 [DEFAULT]
8 [DEFAULT]
10 debug = true
9 debug = true
10
11 ################################################################################
11 ################################################################################
12 ## EMAIL CONFIGURATION ##
12 ## Uncomment and replace with the email address which should receive ##
13 ## Uncomment and replace with the email address which should receive ##
13 ## any error reports after an application crash ##
14 ## any error reports after an application crash ##
14 ## Additionally these settings will be used by the RhodeCode mailing system ##
15 ## Additionally these settings will be used by the RhodeCode mailing system ##
15 ################################################################################
16 ################################################################################
16 #email_to = admin@localhost
17
17 #error_email_from = paste_error@localhost
18 ## prefix all emails subjects with given prefix, helps filtering out emails
19 #email_prefix = [RhodeCode]
20
21 ## email FROM address all mails will be sent
18 #app_email_from = rhodecode-noreply@localhost
22 #app_email_from = rhodecode-noreply@localhost
23
24 ## Uncomment and replace with the address which should receive any error report
25 ## note: using appenlight for error handling doesn't need this to be uncommented
26 #email_to = admin@localhost
27
28 ## in case of Application errors, sent an error email form
29 #error_email_from = rhodecode_error@localhost
30
31 ## additional error message to be send in case of server crash
19 #error_message =
32 #error_message =
20 #email_prefix = [RhodeCode]
33
21
34
22 #smtp_server = mail.server.com
35 #smtp_server = mail.server.com
23 #smtp_username =
36 #smtp_username =
@@ -37,6 +50,7 b' port = 5000'
37 ## WAITRESS WSGI SERVER ##
50 ## WAITRESS WSGI SERVER ##
38 ## Recommended for Development ##
51 ## Recommended for Development ##
39 ##################################
52 ##################################
53
40 use = egg:waitress#main
54 use = egg:waitress#main
41 ## number of worker threads
55 ## number of worker threads
42 threads = 5
56 threads = 5
@@ -51,6 +65,7 b' asyncore_use_poll = true'
51 ## GUNICORN WSGI SERVER ##
65 ## GUNICORN WSGI SERVER ##
52 ##########################
66 ##########################
53 ## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
67 ## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
68
54 #use = egg:gunicorn#main
69 #use = egg:gunicorn#main
55 ## Sets the number of process workers. You must set `instance_id = *`
70 ## Sets the number of process workers. You must set `instance_id = *`
56 ## when this option is set to more than one worker, recommended
71 ## when this option is set to more than one worker, recommended
@@ -400,10 +415,12 b' search.location = %(here)s/data/index'
400 ## in the system. It's also used by the chat system
415 ## in the system. It's also used by the chat system
401
416
402 channelstream.enabled = true
417 channelstream.enabled = true
403 # location of channelstream server on the backend
418 ## location of channelstream server on the backend
404 channelstream.server = 127.0.0.1:9800
419 channelstream.server = 127.0.0.1:9800
405 # location of the channelstream server from outside world
420 ## location of the channelstream server from outside world
406 channelstream.ws_url = ws://127.0.0.1:9800
421 ## most likely this would be an http server special backend URL, that handles
422 ## websocket connections see nginx example for config
423 channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
407 channelstream.secret = secret
424 channelstream.secret = secret
408 channelstream.history.location = %(here)s/channelstream_history
425 channelstream.history.location = %(here)s/channelstream_history
409
426
@@ -545,9 +562,10 b' vcs.connection_timeout = 3600'
545 #vcs.svn.compatible_version = pre-1.8-compatible
562 #vcs.svn.compatible_version = pre-1.8-compatible
546
563
547
564
548 ##############################################
565 ############################################################
549 ### Subversion proxy support (mod_dav_svn) ###
566 ### Subversion proxy support (mod_dav_svn) ###
550 ##############################################
567 ### Maps RhodeCode repo groups into SVN paths for Apache ###
568 ############################################################
551 ## Enable or disable the config file generation.
569 ## Enable or disable the config file generation.
552 svn.proxy.generate_config = false
570 svn.proxy.generate_config = false
553 ## Generate config file with `SVNListParentPath` set to `On`.
571 ## Generate config file with `SVNListParentPath` set to `On`.
@@ -1,23 +1,36 b''
1 ################################################################################
1
2
2 ################################################################################
3 ################################################################################
3 # RhodeCode Enterprise - configuration file #
4 ## RHODECODE ENTERPRISE CONFIGURATION ##
4 # Built-in functions and variables #
5 # The %(here)s variable will be replaced with the parent directory of this file#
5 # The %(here)s variable will be replaced with the parent directory of this file#
6 # #
7 ################################################################################
6 ################################################################################
8
7
9 [DEFAULT]
8 [DEFAULT]
10 debug = true
9 debug = true
10
11 ################################################################################
11 ################################################################################
12 ## EMAIL CONFIGURATION ##
12 ## Uncomment and replace with the email address which should receive ##
13 ## Uncomment and replace with the email address which should receive ##
13 ## any error reports after an application crash ##
14 ## any error reports after an application crash ##
14 ## Additionally these settings will be used by the RhodeCode mailing system ##
15 ## Additionally these settings will be used by the RhodeCode mailing system ##
15 ################################################################################
16 ################################################################################
16 #email_to = admin@localhost
17
17 #error_email_from = paste_error@localhost
18 ## prefix all emails subjects with given prefix, helps filtering out emails
19 #email_prefix = [RhodeCode]
20
21 ## email FROM address all mails will be sent
18 #app_email_from = rhodecode-noreply@localhost
22 #app_email_from = rhodecode-noreply@localhost
23
24 ## Uncomment and replace with the address which should receive any error report
25 ## note: using appenlight for error handling doesn't need this to be uncommented
26 #email_to = admin@localhost
27
28 ## in case of Application errors, sent an error email form
29 #error_email_from = rhodecode_error@localhost
30
31 ## additional error message to be send in case of server crash
19 #error_message =
32 #error_message =
20 #email_prefix = [RhodeCode]
33
21
34
22 #smtp_server = mail.server.com
35 #smtp_server = mail.server.com
23 #smtp_username =
36 #smtp_username =
@@ -37,6 +50,7 b' port = 5000'
37 ## WAITRESS WSGI SERVER ##
50 ## WAITRESS WSGI SERVER ##
38 ## Recommended for Development ##
51 ## Recommended for Development ##
39 ##################################
52 ##################################
53
40 #use = egg:waitress#main
54 #use = egg:waitress#main
41 ## number of worker threads
55 ## number of worker threads
42 #threads = 5
56 #threads = 5
@@ -51,6 +65,7 b' port = 5000'
51 ## GUNICORN WSGI SERVER ##
65 ## GUNICORN WSGI SERVER ##
52 ##########################
66 ##########################
53 ## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
67 ## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
68
54 use = egg:gunicorn#main
69 use = egg:gunicorn#main
55 ## Sets the number of process workers. You must set `instance_id = *`
70 ## Sets the number of process workers. You must set `instance_id = *`
56 ## when this option is set to more than one worker, recommended
71 ## when this option is set to more than one worker, recommended
@@ -374,10 +389,12 b' search.location = %(here)s/data/index'
374 ## in the system. It's also used by the chat system
389 ## in the system. It's also used by the chat system
375
390
376 channelstream.enabled = true
391 channelstream.enabled = true
377 # location of channelstream server on the backend
392 ## location of channelstream server on the backend
378 channelstream.server = 127.0.0.1:9800
393 channelstream.server = 127.0.0.1:9800
379 # location of the channelstream server from outside world
394 ## location of the channelstream server from outside world
380 channelstream.ws_url = ws://127.0.0.1:9800
395 ## most likely this would be an http server special backend URL, that handles
396 ## websocket connections see nginx example for config
397 channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
381 channelstream.secret = secret
398 channelstream.secret = secret
382 channelstream.history.location = %(here)s/channelstream_history
399 channelstream.history.location = %(here)s/channelstream_history
383
400
@@ -514,9 +531,10 b' vcs.connection_timeout = 3600'
514 #vcs.svn.compatible_version = pre-1.8-compatible
531 #vcs.svn.compatible_version = pre-1.8-compatible
515
532
516
533
517 ##############################################
534 ############################################################
518 ### Subversion proxy support (mod_dav_svn) ###
535 ### Subversion proxy support (mod_dav_svn) ###
519 ##############################################
536 ### Maps RhodeCode repo groups into SVN paths for Apache ###
537 ############################################################
520 ## Enable or disable the config file generation.
538 ## Enable or disable the config file generation.
521 svn.proxy.generate_config = false
539 svn.proxy.generate_config = false
522 ## Generate config file with `SVNListParentPath` set to `On`.
540 ## Generate config file with `SVNListParentPath` set to `On`.
General Comments 0
You need to be logged in to leave comments. Login now