##// END OF EJS Templates
fix(tests): explicitly disable env_expand for test suite to prevent problems with DB connections during tests
fix(tests): explicitly disable env_expand for test suite to prevent problems with DB connections during tests

File last commit:

r5459:7f730862 default
r5549:4be441f6 default
Show More
vcsserver_http.ini
171 lines | 5.0 KiB | text/x-ini | IniLexer
tests: fixed all tests for python3 BIG changes
r5087 #
tests: updated vcsserver test config
r4336
; #################################
; RHODECODE VCSSERVER CONFIGURATION
; #################################
[server:main]
; COMMON HOST/IP CONFIG
host = 127.0.0.1
fix(svn): svn events fixes and change the way how we handle the events
r5459 port = 10010
tests: updated vcsserver test config
r4336
; ###########################
; GUNICORN APPLICATION SERVER
; ###########################
; run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
; Module to use, this setting shouldn't be changed
use = egg:gunicorn#main
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
[app:main]
tests: updated vcsserver test config
r4336 ; The %(here)s variable will be replaced with the absolute path of parent directory
; of this file
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; Each option in the app:main can be override by an environmental variable
;
;To override an option:
;
;RC_<KeyName>
;Everything should be uppercase, . and - should be replaced by _.
;For example, if you have these configuration settings:
;rc_cache.repo_object.backend = foo
;can be overridden by
;export RC_CACHE_REPO_OBJECT_BACKEND=foo
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 use = egg:rhodecode-vcsserver
tests: updated vcsserver test config
r4336 ; Pyramid default locales, we need this to be set
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 pyramid.default_locale_name = en
tests: updated vcsserver test config
r4336 ; default locale used by VCS systems
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 locale = en_US.UTF-8
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; path to binaries (hg,git,svn) for vcsserver, it should be set by the installer
; at installation time, e.g /home/user/.rccontrol/vcsserver-1/profile/bin
; or /usr/local/bin/rhodecode_bin/vcs_bin
fix(tests): fixed bad value for default binary_dir value
r5332 core.binary_dir =
tests: updated vcsserver test config
r4336
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; Redis connection settings for svn integrations logic
; This connection string needs to be the same on ce and vcsserver
vcs.svn.redis_conn = redis://redis:6379/0
tests: updated vcsserver test config
r4336 ; Custom exception store path, defaults to TMPDIR
; This is used to store exception from RhodeCode in shared directory
#exception_tracker.store_path =
; #############
; DOGPILE CACHE
; #############
; Default cache dir for caches. Putting this into a ramdisk can boost performance.
; eg. /tmpfs/data_ramdisk, however this directory might require large amount of space
cache_dir = %(here)s/data
; ***************************************
; `repo_object` cache, default file based
; ***************************************
; `repo_object` cache settings for vcs methods for repositories
fix(svn): svn events fixes and change the way how we handle the events
r5459 #rc_cache.repo_object.backend = dogpile.cache.rc.file_namespace
tests: updated vcsserver test config
r4336
; cache auto-expires after N seconds
; Examples: 86400 (1Day), 604800 (7Days), 1209600 (14Days), 2592000 (30days), 7776000 (90Days)
fix(svn): svn events fixes and change the way how we handle the events
r5459 #rc_cache.repo_object.expiration_time = 2592000
tests: updated vcsserver test config
r4336
; file cache store path. Defaults to `cache_dir =` value or tempdir if both values are not set
fix(svn): svn events fixes and change the way how we handle the events
r5459 #rc_cache.repo_object.arguments.filename = /tmp/vcsserver_cache_repo_object.db
tests: updated vcsserver test config
r4336
; ***********************************************************
; `repo_object` cache with redis backend
; recommended for larger instance, and for better performance
; ***********************************************************
; `repo_object` cache settings for vcs methods for repositories
#rc_cache.repo_object.backend = dogpile.cache.rc.redis_msgpack
; cache auto-expires after N seconds
; Examples: 86400 (1Day), 604800 (7Days), 1209600 (14Days), 2592000 (30days), 7776000 (90Days)
#rc_cache.repo_object.expiration_time = 2592000
; redis_expiration_time needs to be greater then expiration_time
#rc_cache.repo_object.arguments.redis_expiration_time = 3592000
#rc_cache.repo_object.arguments.host = localhost
#rc_cache.repo_object.arguments.port = 6379
#rc_cache.repo_object.arguments.db = 5
#rc_cache.repo_object.arguments.socket_timeout = 30
; more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
#rc_cache.repo_object.arguments.distributed_lock = true
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
#rc_cache.repo_object.arguments.lock_auto_renewal = true
; Statsd client config, this is used to send metrics to statsd
; We recommend setting statsd_exported and scrape them using Promethues
#statsd.enabled = false
#statsd.statsd_host = 0.0.0.0
#statsd.statsd_port = 8125
#statsd.statsd_prefix =
#statsd.statsd_ipv6 = false
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; configure logging automatically at server startup set to false
; to use the below custom logging config.
; RC_LOGGING_FORMATTER
; RC_LOGGING_LEVEL
; env variables can control the settings for logging in case of autoconfigure
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
fix(svn): svn events fixes and change the way how we handle the events
r5459 #logging.autoconfigure = true
; specify your own custom logging config file to configure logging
#logging.logging_conf_file = /path/to/custom_logging.ini
tests: use gunicorn for testing. This is close to production testing...
r2453
tests: updated vcsserver test config
r4336 ; #####################
; LOGGING CONFIGURATION
; #####################
fix(svn): svn events fixes and change the way how we handle the events
r5459
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 [loggers]
tests: updated vcsserver test config
r4336 keys = root, vcsserver
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
[handlers]
keys = console
[formatters]
fix(svn): svn events fixes and change the way how we handle the events
r5459 keys = generic, json
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
tests: updated vcsserver test config
r4336 ; #######
; LOGGERS
; #######
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 [logger_root]
level = NOTSET
handlers = console
[logger_vcsserver]
fix(svn): svn events fixes and change the way how we handle the events
r5459 level = INFO
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 handlers =
qualname = vcsserver
propagate = 1
tests: updated vcsserver test config
r4336 ; ########
; HANDLERS
; ########
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
[handler_console]
class = StreamHandler
tests: updated vcsserver test config
r4336 args = (sys.stderr, )
caches: updated cache backend to new vcsserver caches implementation.
r3848 level = DEBUG
fix(svn): svn events fixes and change the way how we handle the events
r5459 ; To enable JSON formatted logs replace 'generic' with 'json'
; This allows sending properly formatted logs to grafana loki or elasticsearch
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 formatter = generic
tests: updated vcsserver test config
r4336 ; ##########
; FORMATTERS
; ##########
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972
[formatter_generic]
tests: updated vcsserver test config
r4336 format = %(asctime)s.%(msecs)03d [%(process)d] %(levelname)-5.5s [%(name)s] %(message)s
Martin Bornhold
tests: Create new config files for vcsserver (http/pyro4)
r972 datefmt = %Y-%m-%d %H:%M:%S
fix(svn): svn events fixes and change the way how we handle the events
r5459
[formatter_json]
format = %(timestamp)s %(levelname)s %(name)s %(message)s %(req_id)s
class = vcsserver.lib._vendor.jsonlogger.JsonFormatter