##// END OF EJS Templates
config: updated .ini configs
marcink -
r3483:0014c94d default
parent child Browse files
Show More
@@ -53,7 +53,7 b' asyncore_use_poll = true'
53 53 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
54 54
55 55 #use = egg:gunicorn#main
56 ## Sets the number of process workers. More workers means more concurent connections
56 ## Sets the number of process workers. More workers means more concurrent connections
57 57 ## RhodeCode can handle at the same time. Each additional worker also it increases
58 58 ## memory usage as each has it's own set of caches.
59 59 ## Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more
@@ -133,10 +133,10 b' rhodecode.api.url = /_admin/api'
133 133 ## `SignatureVerificationError` in case of wrong key, or damaged encryption data.
134 134 #rhodecode.encrypted_values.strict = false
135 135
136 ## return gzipped responses from Rhodecode (static files/application)
136 ## return gzipped responses from RhodeCode (static files/application)
137 137 gzip_responses = false
138 138
139 ## autogenerate javascript routes file on startup
139 ## auto-generate javascript routes file on startup
140 140 generate_js_files = false
141 141
142 142 ## System global default language.
@@ -153,7 +153,7 b' startup.import_repos = false'
153 153 ## the repository.
154 154 #archive_cache_dir = /tmp/tarballcache
155 155
156 ## URL at which the application is running. This is used for bootstraping
156 ## URL at which the application is running. This is used for Bootstrapping
157 157 ## requests in context when no web request is available. Used in ishell, or
158 158 ## SSH calls. Set this for events to receive proper url for SSH calls.
159 159 app.base_url = http://rhodecode.local
@@ -203,7 +203,7 b' gist_alias_url ='
203 203 ## used for access.
204 204 ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it
205 205 ## came from the the logged in user who own this authentication token.
206 ## Additionally @TOKEN syntaxt can be used to bound the view to specific
206 ## Additionally @TOKEN syntax can be used to bound the view to specific
207 207 ## authentication token. Such view would be only accessible when used together
208 208 ## with this authentication token
209 209 ##
@@ -227,14 +227,14 b' default_encoding = UTF-8'
227 227
228 228 ## instance-id prefix
229 229 ## a prefix key for this instance used for cache invalidation when running
230 ## multiple instances of rhodecode, make sure it's globally unique for
231 ## all running rhodecode instances. Leave empty if you don't use it
230 ## multiple instances of RhodeCode, make sure it's globally unique for
231 ## all running RhodeCode instances. Leave empty if you don't use it
232 232 instance_id =
233 233
234 234 ## Fallback authentication plugin. Set this to a plugin ID to force the usage
235 235 ## of an authentication plugin also if it is disabled by it's settings.
236 236 ## This could be useful if you are unable to log in to the system due to broken
237 ## authentication settings. Then you can enable e.g. the internal rhodecode auth
237 ## authentication settings. Then you can enable e.g. the internal RhodeCode auth
238 238 ## module to log in again and fix the settings.
239 239 ##
240 240 ## Available builtin plugin IDs (hash is part of the ID):
@@ -250,7 +250,7 b' instance_id ='
250 250 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
251 251 ## handling that causing a series of failed authentication calls.
252 252 ## Set this variable to 403 to return HTTPForbidden, or any other HTTP code
253 ## This will be served instead of default 401 on bad authnetication
253 ## This will be served instead of default 401 on bad authentication
254 254 auth_ret_code =
255 255
256 256 ## use special detection method when serving auth_ret_code, instead of serving
@@ -286,7 +286,7 b' labs_settings_active = true'
286 286
287 287 ## File store configuration. This is used to store and serve uploaded files
288 288 file_store.enabled = true
289 ## backend, only available one is local
289 ## Storage backend, available options are: local
290 290 file_store.backend = local
291 291 ## path to store the uploaded binaries
292 292 file_store.storage_path = %(here)s/data/file_store
@@ -332,6 +332,7 b' rc_cache.cache_perms.expiration_time = 3'
332 332 #rc_cache.cache_perms.arguments.host = localhost
333 333 #rc_cache.cache_perms.arguments.port = 6379
334 334 #rc_cache.cache_perms.arguments.db = 0
335 ## more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
335 336 #rc_cache.cache_perms.arguments.distributed_lock = true
336 337
337 338 ## `cache_repo` cache settings for FileTree, Readme, RSS FEEDS
@@ -347,6 +348,7 b' rc_cache.cache_repo.expiration_time = 25'
347 348 #rc_cache.cache_repo.arguments.host = localhost
348 349 #rc_cache.cache_repo.arguments.port = 6379
349 350 #rc_cache.cache_repo.arguments.db = 1
351 ## more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
350 352 #rc_cache.cache_repo.arguments.distributed_lock = true
351 353
352 354 ## cache settings for SQL queries, this needs to use memory type backend
@@ -431,7 +433,7 b' channelstream.server = 127.0.0.1:9800'
431 433 ## location of the channelstream server from outside world
432 434 ## use ws:// for http or wss:// for https. This address needs to be handled
433 435 ## by external HTTP server such as Nginx or Apache
434 ## see nginx/apache configuration examples in our docs
436 ## see Nginx/Apache configuration examples in our docs
435 437 channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
436 438 channelstream.secret = secret
437 439 channelstream.history.location = %(here)s/channelstream_history
@@ -448,14 +450,14 b' channelstream.proxy_path = /_channelstre'
448 450 ## Appenlight is tailored to work with RhodeCode, see
449 451 ## http://appenlight.com for details how to obtain an account
450 452
451 ## appenlight integration enabled
453 ## Appenlight integration enabled
452 454 appenlight = false
453 455
454 456 appenlight.server_url = https://api.appenlight.com
455 457 appenlight.api_key = YOUR_API_KEY
456 458 #appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
457 459
458 # used for JS client
460 ## used for JS client
459 461 appenlight.api_public_key = YOUR_API_PUBLIC_KEY
460 462
461 463 ## TWEAK AMOUNT OF INFO SENT HERE
@@ -480,7 +482,7 b' appenlight.logging.level = WARNING'
480 482 ## (saves API quota for intensive logging)
481 483 appenlight.logging_on_error = false
482 484
483 ## list of additonal keywords that should be grabbed from environ object
485 ## list of additional keywords that should be grabbed from environ object
484 486 ## can be string with comma separated list of words in lowercase
485 487 ## (by default client will always send following info:
486 488 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
@@ -540,7 +542,7 b' sqlalchemy.db1.convert_unicode = true'
540 542 vcs.server.enable = true
541 543 vcs.server = localhost:9900
542 544
543 ## Web server connectivity protocol, responsible for web based VCS operatations
545 ## Web server connectivity protocol, responsible for web based VCS operations
544 546 ## Available protocols are:
545 547 ## `http` - use http-rpc backend (default)
546 548 vcs.server.protocol = http
@@ -589,7 +591,8 b' svn.proxy.config_file_path = %(here)s/mo'
589 591 ## In most cases it should be set to `/`.
590 592 svn.proxy.location_root = /
591 593 ## Command to reload the mod dav svn configuration on change.
592 ## Example: `/etc/init.d/apache2 reload`
594 ## Example: `/etc/init.d/apache2 reload` or /home/USER/apache_reload.sh
595 ## Make sure user who runs RhodeCode process is allowed to reload Apache
593 596 #svn.proxy.reload_cmd = /etc/init.d/apache2 reload
594 597 ## If the timeout expires before the reload command finishes, the command will
595 598 ## be killed. Setting it to zero means no timeout. Defaults to 10 seconds.
@@ -600,7 +603,7 b' svn.proxy.location_root = /'
600 603 ############################################################
601 604
602 605 ## Defines if a custom authorized_keys file should be created and written on
603 ## any change user ssh keys. Setting this to false also disables posibility
606 ## any change user ssh keys. Setting this to false also disables possibility
604 607 ## of adding SSH keys by users from web interface. Super admins can still
605 608 ## manage SSH Keys.
606 609 ssh.generate_authorized_keyfile = false
@@ -608,13 +611,13 b' ssh.generate_authorized_keyfile = false'
608 611 ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding`
609 612 # ssh.authorized_keys_ssh_opts =
610 613
611 ## Path to the authrozied_keys file where the generate entries are placed.
614 ## Path to the authorized_keys file where the generate entries are placed.
612 615 ## It is possible to have multiple key files specified in `sshd_config` e.g.
613 616 ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode
614 617 ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode
615 618
616 619 ## Command to execute the SSH wrapper. The binary is available in the
617 ## rhodecode installation directory.
620 ## RhodeCode installation directory.
618 621 ## e.g ~/.rccontrol/community-1/profile/bin/rc-ssh-wrapper
619 622 ssh.wrapper_cmd = ~/.rccontrol/community-1/rc-ssh-wrapper
620 623
@@ -622,7 +625,7 b' ssh.wrapper_cmd = ~/.rccontrol/community'
622 625 ssh.wrapper_cmd_allow_shell = false
623 626
624 627 ## Enables logging, and detailed output send back to the client during SSH
625 ## operations. Usefull for debugging, shouldn't be used in production.
628 ## operations. Useful for debugging, shouldn't be used in production.
626 629 ssh.enable_debug_logging = true
627 630
628 631 ## Paths to binary executable, by default they are the names, but we can
@@ -53,7 +53,7 b' port = 5000'
53 53 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
54 54
55 55 use = egg:gunicorn#main
56 ## Sets the number of process workers. More workers means more concurent connections
56 ## Sets the number of process workers. More workers means more concurrent connections
57 57 ## RhodeCode can handle at the same time. Each additional worker also it increases
58 58 ## memory usage as each has it's own set of caches.
59 59 ## Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more
@@ -108,10 +108,10 b' use = egg:rhodecode-enterprise-ce'
108 108 ## `SignatureVerificationError` in case of wrong key, or damaged encryption data.
109 109 #rhodecode.encrypted_values.strict = false
110 110
111 ## return gzipped responses from Rhodecode (static files/application)
111 ## return gzipped responses from RhodeCode (static files/application)
112 112 gzip_responses = false
113 113
114 ## autogenerate javascript routes file on startup
114 ## auto-generate javascript routes file on startup
115 115 generate_js_files = false
116 116
117 117 ## System global default language.
@@ -128,7 +128,7 b' startup.import_repos = false'
128 128 ## the repository.
129 129 #archive_cache_dir = /tmp/tarballcache
130 130
131 ## URL at which the application is running. This is used for bootstraping
131 ## URL at which the application is running. This is used for Bootstrapping
132 132 ## requests in context when no web request is available. Used in ishell, or
133 133 ## SSH calls. Set this for events to receive proper url for SSH calls.
134 134 app.base_url = http://rhodecode.local
@@ -178,7 +178,7 b' gist_alias_url ='
178 178 ## used for access.
179 179 ## Adding ?auth_token=TOKEN_HASH to the url authenticates this request as if it
180 180 ## came from the the logged in user who own this authentication token.
181 ## Additionally @TOKEN syntaxt can be used to bound the view to specific
181 ## Additionally @TOKEN syntax can be used to bound the view to specific
182 182 ## authentication token. Such view would be only accessible when used together
183 183 ## with this authentication token
184 184 ##
@@ -202,14 +202,14 b' default_encoding = UTF-8'
202 202
203 203 ## instance-id prefix
204 204 ## a prefix key for this instance used for cache invalidation when running
205 ## multiple instances of rhodecode, make sure it's globally unique for
206 ## all running rhodecode instances. Leave empty if you don't use it
205 ## multiple instances of RhodeCode, make sure it's globally unique for
206 ## all running RhodeCode instances. Leave empty if you don't use it
207 207 instance_id =
208 208
209 209 ## Fallback authentication plugin. Set this to a plugin ID to force the usage
210 210 ## of an authentication plugin also if it is disabled by it's settings.
211 211 ## This could be useful if you are unable to log in to the system due to broken
212 ## authentication settings. Then you can enable e.g. the internal rhodecode auth
212 ## authentication settings. Then you can enable e.g. the internal RhodeCode auth
213 213 ## module to log in again and fix the settings.
214 214 ##
215 215 ## Available builtin plugin IDs (hash is part of the ID):
@@ -225,7 +225,7 b' instance_id ='
225 225 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
226 226 ## handling that causing a series of failed authentication calls.
227 227 ## Set this variable to 403 to return HTTPForbidden, or any other HTTP code
228 ## This will be served instead of default 401 on bad authnetication
228 ## This will be served instead of default 401 on bad authentication
229 229 auth_ret_code =
230 230
231 231 ## use special detection method when serving auth_ret_code, instead of serving
@@ -261,7 +261,7 b' labs_settings_active = true'
261 261
262 262 ## File store configuration. This is used to store and serve uploaded files
263 263 file_store.enabled = true
264 ## backend, only available one is local
264 ## Storage backend, available options are: local
265 265 file_store.backend = local
266 266 ## path to store the uploaded binaries
267 267 file_store.storage_path = %(here)s/data/file_store
@@ -307,6 +307,7 b' rc_cache.cache_perms.expiration_time = 3'
307 307 #rc_cache.cache_perms.arguments.host = localhost
308 308 #rc_cache.cache_perms.arguments.port = 6379
309 309 #rc_cache.cache_perms.arguments.db = 0
310 ## more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
310 311 #rc_cache.cache_perms.arguments.distributed_lock = true
311 312
312 313 ## `cache_repo` cache settings for FileTree, Readme, RSS FEEDS
@@ -322,6 +323,7 b' rc_cache.cache_repo.expiration_time = 25'
322 323 #rc_cache.cache_repo.arguments.host = localhost
323 324 #rc_cache.cache_repo.arguments.port = 6379
324 325 #rc_cache.cache_repo.arguments.db = 1
326 ## more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
325 327 #rc_cache.cache_repo.arguments.distributed_lock = true
326 328
327 329 ## cache settings for SQL queries, this needs to use memory type backend
@@ -406,7 +408,7 b' channelstream.server = 127.0.0.1:9800'
406 408 ## location of the channelstream server from outside world
407 409 ## use ws:// for http or wss:// for https. This address needs to be handled
408 410 ## by external HTTP server such as Nginx or Apache
409 ## see nginx/apache configuration examples in our docs
411 ## see Nginx/Apache configuration examples in our docs
410 412 channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
411 413 channelstream.secret = secret
412 414 channelstream.history.location = %(here)s/channelstream_history
@@ -423,14 +425,14 b' channelstream.proxy_path = /_channelstre'
423 425 ## Appenlight is tailored to work with RhodeCode, see
424 426 ## http://appenlight.com for details how to obtain an account
425 427
426 ## appenlight integration enabled
428 ## Appenlight integration enabled
427 429 appenlight = false
428 430
429 431 appenlight.server_url = https://api.appenlight.com
430 432 appenlight.api_key = YOUR_API_KEY
431 433 #appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
432 434
433 # used for JS client
435 ## used for JS client
434 436 appenlight.api_public_key = YOUR_API_PUBLIC_KEY
435 437
436 438 ## TWEAK AMOUNT OF INFO SENT HERE
@@ -455,7 +457,7 b' appenlight.logging.level = WARNING'
455 457 ## (saves API quota for intensive logging)
456 458 appenlight.logging_on_error = false
457 459
458 ## list of additonal keywords that should be grabbed from environ object
460 ## list of additional keywords that should be grabbed from environ object
459 461 ## can be string with comma separated list of words in lowercase
460 462 ## (by default client will always send following info:
461 463 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
@@ -513,7 +515,7 b' sqlalchemy.db1.convert_unicode = true'
513 515 vcs.server.enable = true
514 516 vcs.server = localhost:9900
515 517
516 ## Web server connectivity protocol, responsible for web based VCS operatations
518 ## Web server connectivity protocol, responsible for web based VCS operations
517 519 ## Available protocols are:
518 520 ## `http` - use http-rpc backend (default)
519 521 vcs.server.protocol = http
@@ -562,7 +564,8 b' svn.proxy.config_file_path = %(here)s/mo'
562 564 ## In most cases it should be set to `/`.
563 565 svn.proxy.location_root = /
564 566 ## Command to reload the mod dav svn configuration on change.
565 ## Example: `/etc/init.d/apache2 reload`
567 ## Example: `/etc/init.d/apache2 reload` or /home/USER/apache_reload.sh
568 ## Make sure user who runs RhodeCode process is allowed to reload Apache
566 569 #svn.proxy.reload_cmd = /etc/init.d/apache2 reload
567 570 ## If the timeout expires before the reload command finishes, the command will
568 571 ## be killed. Setting it to zero means no timeout. Defaults to 10 seconds.
@@ -573,7 +576,7 b' svn.proxy.location_root = /'
573 576 ############################################################
574 577
575 578 ## Defines if a custom authorized_keys file should be created and written on
576 ## any change user ssh keys. Setting this to false also disables posibility
579 ## any change user ssh keys. Setting this to false also disables possibility
577 580 ## of adding SSH keys by users from web interface. Super admins can still
578 581 ## manage SSH Keys.
579 582 ssh.generate_authorized_keyfile = false
@@ -581,13 +584,13 b' ssh.generate_authorized_keyfile = false'
581 584 ## Options for ssh, default is `no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding`
582 585 # ssh.authorized_keys_ssh_opts =
583 586
584 ## Path to the authrozied_keys file where the generate entries are placed.
587 ## Path to the authorized_keys file where the generate entries are placed.
585 588 ## It is possible to have multiple key files specified in `sshd_config` e.g.
586 589 ## AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_rhodecode
587 590 ssh.authorized_keys_file_path = ~/.ssh/authorized_keys_rhodecode
588 591
589 592 ## Command to execute the SSH wrapper. The binary is available in the
590 ## rhodecode installation directory.
593 ## RhodeCode installation directory.
591 594 ## e.g ~/.rccontrol/community-1/profile/bin/rc-ssh-wrapper
592 595 ssh.wrapper_cmd = ~/.rccontrol/community-1/rc-ssh-wrapper
593 596
@@ -595,7 +598,7 b' ssh.wrapper_cmd = ~/.rccontrol/community'
595 598 ssh.wrapper_cmd_allow_shell = false
596 599
597 600 ## Enables logging, and detailed output send back to the client during SSH
598 ## operations. Usefull for debugging, shouldn't be used in production.
601 ## operations. Useful for debugging, shouldn't be used in production.
599 602 ssh.enable_debug_logging = false
600 603
601 604 ## Paths to binary executable, by default they are the names, but we can
General Comments 0
You need to be logged in to leave comments. Login now