tests: synced test.ini with latest changes
This commit is contained in:
parent
3f8709daf5
commit
58c14af4c9
1 changed files with 157 additions and 44 deletions
201
test.ini
201
test.ini
|
|
@ -1,25 +1,37 @@
|
|||
|
||||
|
||||
################################################################################
|
||||
################################################################################
|
||||
# RhodeCode Enterprise - configuration file #
|
||||
# Built-in functions and variables #
|
||||
## RHODECODE ENTERPRISE CONFIGURATION ##
|
||||
# The %(here)s variable will be replaced with the parent directory of this file#
|
||||
# #
|
||||
################################################################################
|
||||
|
||||
[DEFAULT]
|
||||
debug = true
|
||||
pdebug = false
|
||||
|
||||
################################################################################
|
||||
## EMAIL CONFIGURATION ##
|
||||
## Uncomment and replace with the email address which should receive ##
|
||||
## any error reports after an application crash ##
|
||||
## Additionally these settings will be used by the RhodeCode mailing system ##
|
||||
################################################################################
|
||||
#email_to = admin@localhost
|
||||
#error_email_from = paste_error@localhost
|
||||
#app_email_from = rhodecode-noreply@localhost
|
||||
#error_message =
|
||||
|
||||
## prefix all emails subjects with given prefix, helps filtering out emails
|
||||
#email_prefix = [RhodeCode]
|
||||
|
||||
## email FROM address all mails will be sent
|
||||
#app_email_from = rhodecode-noreply@localhost
|
||||
|
||||
## Uncomment and replace with the address which should receive any error report
|
||||
## note: using appenlight for error handling doesn't need this to be uncommented
|
||||
#email_to = admin@localhost
|
||||
|
||||
## in case of Application errors, sent an error email form
|
||||
#error_email_from = rhodecode_error@localhost
|
||||
|
||||
## additional error message to be send in case of server crash
|
||||
#error_message =
|
||||
|
||||
|
||||
#smtp_server = mail.server.com
|
||||
#smtp_username =
|
||||
#smtp_password =
|
||||
|
|
@ -34,9 +46,11 @@ pdebug = false
|
|||
host = 0.0.0.0
|
||||
port = 5000
|
||||
|
||||
##########################
|
||||
## WAITRESS WSGI SERVER ##
|
||||
##########################
|
||||
##################################
|
||||
## WAITRESS WSGI SERVER ##
|
||||
## Recommended for Development ##
|
||||
##################################
|
||||
|
||||
use = egg:waitress#main
|
||||
## number of worker threads
|
||||
threads = 5
|
||||
|
|
@ -46,25 +60,18 @@ max_request_body_size = 107374182400
|
|||
## May not work on old windows systems.
|
||||
asyncore_use_poll = true
|
||||
|
||||
## PASTE HTTP ##
|
||||
#use = egg:Paste#http
|
||||
## nr of worker threads to spawn
|
||||
#threadpool_workers = 5
|
||||
## max request before thread respawn
|
||||
#threadpool_max_requests = 10
|
||||
## option to use threads of process
|
||||
#use_threadpool = true
|
||||
|
||||
##########################
|
||||
## GUNICORN WSGI SERVER ##
|
||||
##########################
|
||||
## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
|
||||
|
||||
#use = egg:gunicorn#main
|
||||
## Sets the number of process workers. You must set `instance_id = *`
|
||||
## when this option is set to more than one worker, recommended
|
||||
## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
|
||||
## The `instance_id = *` must be set in the [app:main] section below
|
||||
#workers = 1
|
||||
#workers = 2
|
||||
## number of threads for each of the worker, must be set to 1 for gevent
|
||||
## generally recommened to be at 1
|
||||
#threads = 1
|
||||
|
|
@ -73,11 +80,13 @@ asyncore_use_poll = true
|
|||
## type of worker class, one of sync, gevent
|
||||
## recommended for bigger setup is using of of other than sync one
|
||||
#worker_class = sync
|
||||
## The maximum number of simultaneous clients. Valid only for Gevent
|
||||
#worker_connections = 10
|
||||
## max number of requests that worker will handle before being gracefully
|
||||
## restarted, could prevent memory leaks
|
||||
#max_requests = 1000
|
||||
#max_requests_jitter = 30
|
||||
## ammount of time a worker can spend with handling a request before it
|
||||
## amount of time a worker can spend with handling a request before it
|
||||
## gets killed and restarted. Set to 6hrs
|
||||
#timeout = 21600
|
||||
|
||||
|
|
@ -142,25 +151,45 @@ asyncore_use_poll = true
|
|||
#cheaper-step = 1
|
||||
|
||||
## prefix middleware for RhodeCode, disables force_https flag.
|
||||
## recommended when using proxy setup.
|
||||
## allows to set RhodeCode under a prefix in server.
|
||||
## eg https://server.com/<prefix>. Enable `filter-with =` option below as well.
|
||||
#[filter:proxy-prefix]
|
||||
#use = egg:PasteDeploy#prefix
|
||||
#prefix = /<your-prefix>
|
||||
## optionally set prefix like: `prefix = /<your-prefix>`
|
||||
[filter:proxy-prefix]
|
||||
use = egg:PasteDeploy#prefix
|
||||
prefix = /
|
||||
|
||||
[app:main]
|
||||
is_test = True
|
||||
use = egg:rhodecode-enterprise-ce
|
||||
## enable proxy prefix middleware, defined below
|
||||
|
||||
## enable proxy prefix middleware, defined above
|
||||
#filter-with = proxy-prefix
|
||||
|
||||
|
||||
## RHODECODE PLUGINS ##
|
||||
rhodecode.includes = rhodecode.api
|
||||
|
||||
# api prefix url
|
||||
rhodecode.api.url = /_admin/api
|
||||
|
||||
## Serve static files via RhodeCode, disable to serve them via HTTP server
|
||||
static_files = true
|
||||
|
||||
## END RHODECODE PLUGINS ##
|
||||
|
||||
## encryption key used to encrypt social plugin tokens,
|
||||
## remote_urls with credentials etc, if not set it defaults to
|
||||
## `beaker.session.secret`
|
||||
#rhodecode.encrypted_values.secret =
|
||||
|
||||
## decryption strict mode (enabled by default). It controls if decryption raises
|
||||
## `SignatureVerificationError` in case of wrong key, or damaged encryption data.
|
||||
#rhodecode.encrypted_values.strict = false
|
||||
|
||||
## return gzipped responses from Rhodecode (static files/application)
|
||||
gzip_responses = false
|
||||
|
||||
## autogenerate javascript routes file on startup
|
||||
generate_js_files = false
|
||||
|
||||
## Optional Languages
|
||||
## en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
|
||||
|
|
@ -242,6 +271,21 @@ default_encoding = UTF-8
|
|||
## all running rhodecode instances. Leave empty if you don't use it
|
||||
instance_id =
|
||||
|
||||
## Fallback authentication plugin. Set this to a plugin ID to force the usage
|
||||
## of an authentication plugin also if it is disabled by it's settings.
|
||||
## This could be useful if you are unable to log in to the system due to broken
|
||||
## authentication settings. Then you can enable e.g. the internal rhodecode auth
|
||||
## module to log in again and fix the settings.
|
||||
##
|
||||
## Available builtin plugin IDs (hash is part of the ID):
|
||||
## egg:rhodecode-enterprise-ce#rhodecode
|
||||
## egg:rhodecode-enterprise-ce#pam
|
||||
## egg:rhodecode-enterprise-ce#ldap
|
||||
## egg:rhodecode-enterprise-ce#jasig_cas
|
||||
## egg:rhodecode-enterprise-ce#headers
|
||||
## egg:rhodecode-enterprise-ce#crowd
|
||||
#rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode
|
||||
|
||||
## alternative return HTTP header for failed authentication. Default HTTP
|
||||
## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
|
||||
## handling that causing a series of failed authentication calls.
|
||||
|
|
@ -333,8 +377,8 @@ beaker.cache.sql_cache_short.type = memory
|
|||
beaker.cache.sql_cache_short.expire = 1
|
||||
beaker.cache.sql_cache_short.key_length = 256
|
||||
|
||||
# default is memory cache, configure only if required
|
||||
# using multi-node or multi-worker setup
|
||||
## default is memory cache, configure only if required
|
||||
## using multi-node or multi-worker setup
|
||||
#beaker.cache.auth_plugins.type = ext:database
|
||||
#beaker.cache.auth_plugins.lock_dir = %(here)s/data/cache/auth_plugin_lock
|
||||
#beaker.cache.auth_plugins.url = postgresql://postgres:secret@localhost/rhodecode
|
||||
|
|
@ -347,8 +391,8 @@ beaker.cache.repo_cache_long.type = memorylru_base
|
|||
beaker.cache.repo_cache_long.max_items = 4096
|
||||
beaker.cache.repo_cache_long.expire = 2592000
|
||||
|
||||
# default is memorylru_base cache, configure only if required
|
||||
# using multi-node or multi-worker setup
|
||||
## default is memorylru_base cache, configure only if required
|
||||
## using multi-node or multi-worker setup
|
||||
#beaker.cache.repo_cache_long.type = ext:memcached
|
||||
#beaker.cache.repo_cache_long.url = localhost:11211
|
||||
#beaker.cache.repo_cache_long.expire = 1209600
|
||||
|
|
@ -359,12 +403,12 @@ beaker.cache.repo_cache_long.expire = 2592000
|
|||
####################################
|
||||
|
||||
## .session.type is type of storage options for the session, current allowed
|
||||
## types are file(default), ext:memcached, ext:database, and memory.
|
||||
#beaker.session.type = file
|
||||
## types are file, ext:memcached, ext:database, and memory (default).
|
||||
beaker.session.type = file
|
||||
beaker.session.data_dir = %(here)s/rc/data/sessions/data
|
||||
|
||||
## db based session, fast, and allows easy management over logged in users ##
|
||||
## db based session, fast, and allows easy management over logged in users
|
||||
#beaker.session.type = ext:database
|
||||
#beaker.session.lock_dir = %(here)s/data/cache/session_db_lock
|
||||
#beaker.session.table_name = db_session
|
||||
#beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
|
||||
#beaker.session.sa.url = mysql://root:secret@127.0.0.1/rhodecode
|
||||
|
|
@ -373,6 +417,7 @@ beaker.cache.repo_cache_long.expire = 2592000
|
|||
|
||||
beaker.session.key = rhodecode
|
||||
beaker.session.secret = test-rc-uytcxaz
|
||||
beaker.session.lock_dir = %(here)s/rc/data/sessions/lock
|
||||
|
||||
## Secure encrypted cookie. Requires AES and AES python libraries
|
||||
## you must disable beaker.session.secret to use this
|
||||
|
|
@ -383,6 +428,7 @@ beaker.session.secret = test-rc-uytcxaz
|
|||
## accessed for given amount of time in seconds
|
||||
beaker.session.timeout = 2592000
|
||||
beaker.session.httponly = true
|
||||
## Path to use for the cookie.
|
||||
#beaker.session.cookie_path = /<your-prefix>
|
||||
|
||||
## uncomment for https secure cookie
|
||||
|
|
@ -398,12 +444,33 @@ beaker.session.auto = false
|
|||
###################################
|
||||
## SEARCH INDEXING CONFIGURATION ##
|
||||
###################################
|
||||
## Full text search indexer is available in rhodecode-tools under
|
||||
## `rhodecode-tools index` command
|
||||
|
||||
# WHOOSH Backend, doesn't require additional services to run
|
||||
# it works good with few dozen repos
|
||||
search.module = rhodecode.lib.index.whoosh
|
||||
search.location = %(here)s/data/index
|
||||
|
||||
########################################
|
||||
### CHANNELSTREAM CONFIG ####
|
||||
########################################
|
||||
## channelstream enables persistent connections and live notification
|
||||
## in the system. It's also used by the chat system
|
||||
|
||||
channelstream.enabled = false
|
||||
# location of channelstream server on the backend
|
||||
channelstream.server = 127.0.0.1:9800
|
||||
## location of the channelstream server from outside world
|
||||
## most likely this would be an http server special backend URL, that handles
|
||||
## websocket connections see nginx example for config
|
||||
channelstream.ws_url = ws://rhodecode.yourserver.com/_channelstream
|
||||
channelstream.secret = secret
|
||||
channelstream.history.location = %(here)s/channelstream_history
|
||||
|
||||
|
||||
###################################
|
||||
## ERROR AND LOG HANDLING SYSTEM ##
|
||||
## APPENLIGHT CONFIG ##
|
||||
###################################
|
||||
|
||||
## Appenlight is tailored to work with RhodeCode, see
|
||||
|
|
@ -414,7 +481,7 @@ appenlight = false
|
|||
|
||||
appenlight.server_url = https://api.appenlight.com
|
||||
appenlight.api_key = YOUR_API_KEY
|
||||
;appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
|
||||
#appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
|
||||
|
||||
# used for JS client
|
||||
appenlight.api_public_key = YOUR_API_PUBLIC_KEY
|
||||
|
|
@ -477,9 +544,10 @@ debug_style = false
|
|||
#########################################################
|
||||
### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
|
||||
#########################################################
|
||||
sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.db
|
||||
#sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.db
|
||||
#sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode_test
|
||||
#sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode_test
|
||||
sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.db
|
||||
|
||||
# see sqlalchemy docs for other advanced settings
|
||||
|
||||
|
|
@ -504,12 +572,57 @@ sqlalchemy.db1.convert_unicode = true
|
|||
##################
|
||||
vcs.server.enable = true
|
||||
vcs.server = localhost:9901
|
||||
# Available protocols: pyro4, http
|
||||
|
||||
## Web server connectivity protocol, responsible for web based VCS operatations
|
||||
## Available protocols are:
|
||||
## `pyro4` - using pyro4 server
|
||||
## `http` - using http-rpc backend
|
||||
vcs.server.protocol = pyro4
|
||||
vcs.server.log_level = info
|
||||
vcs.start_server = false
|
||||
|
||||
## Push/Pull operations protocol, available options are:
|
||||
## `pyro4` - using pyro4 server
|
||||
## `rhodecode.lib.middleware.utils.scm_app_http` - Http based, recommended
|
||||
## `vcsserver.scm_app` - internal app (EE only)
|
||||
vcs.scm_app_implementation = pyro4
|
||||
|
||||
## Push/Pull operations hooks protocol, available options are:
|
||||
## `pyro4` - using pyro4 server
|
||||
## `http` - using http-rpc backend
|
||||
vcs.hooks.protocol = pyro4
|
||||
|
||||
vcs.server.log_level = debug
|
||||
## Start VCSServer with this instance as a subprocess, usefull for development
|
||||
vcs.start_server = true
|
||||
|
||||
## List of enabled VCS backends, available options are:
|
||||
## `hg` - mercurial
|
||||
## `git` - git
|
||||
## `svn` - subversion
|
||||
vcs.backends = hg, git, svn
|
||||
|
||||
vcs.connection_timeout = 3600
|
||||
## Compatibility version when creating SVN repositories. Defaults to newest version when commented out.
|
||||
## Available options are: pre-1.4-compatible, pre-1.5-compatible, pre-1.6-compatible, pre-1.8-compatible
|
||||
#vcs.svn.compatible_version = pre-1.8-compatible
|
||||
|
||||
|
||||
############################################################
|
||||
### Subversion proxy support (mod_dav_svn) ###
|
||||
### Maps RhodeCode repo groups into SVN paths for Apache ###
|
||||
############################################################
|
||||
## Enable or disable the config file generation.
|
||||
svn.proxy.generate_config = false
|
||||
## Generate config file with `SVNListParentPath` set to `On`.
|
||||
svn.proxy.list_parent_path = true
|
||||
## Set location and file name of generated config file.
|
||||
svn.proxy.config_file_path = %(here)s/mod_dav_svn.conf
|
||||
## File system path to the directory containing the repositories served by
|
||||
## RhodeCode.
|
||||
svn.proxy.parent_path_root = /path/to/repo_store
|
||||
## Used as a prefix to the <Location> block in the generated config file. In
|
||||
## most cases it should be set to `/`.
|
||||
svn.proxy.location_root = /
|
||||
|
||||
|
||||
################################
|
||||
### LOGGING CONFIGURATION ####
|
||||
|
|
@ -527,7 +640,7 @@ keys = generic, color_formatter, color_formatter_sql
|
|||
## LOGGERS ##
|
||||
#############
|
||||
[logger_root]
|
||||
level = DEBUG
|
||||
level = NOTSET
|
||||
handlers = console
|
||||
|
||||
[logger_routes]
|
||||
|
|
@ -574,7 +687,7 @@ propagate = 0
|
|||
[handler_console]
|
||||
class = StreamHandler
|
||||
args = (sys.stderr,)
|
||||
level = INFO
|
||||
level = DEBUG
|
||||
formatter = generic
|
||||
|
||||
[handler_console_sql]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue