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