Show More
@@ -17,6 +17,7 b' pdebug = false' | |||
|
17 | 17 | #error_email_from = paste_error@localhost |
|
18 | 18 | #app_email_from = rhodecode-noreply@localhost |
|
19 | 19 | #error_message = |
|
20 | #email_prefix = [RhodeCode] | |
|
20 | 21 | |
|
21 | 22 | #smtp_server = mail.server.com |
|
22 | 23 | #smtp_username = |
@@ -24,6 +25,8 b' pdebug = false' | |||
|
24 | 25 | #smtp_port = |
|
25 | 26 | #smtp_use_tls = false |
|
26 | 27 | #smtp_use_ssl = true |
|
28 | # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) | |
|
29 | #smtp_auth = | |
|
27 | 30 | |
|
28 | 31 | [server:main] |
|
29 | 32 | ##nr of threads to spawn |
@@ -54,6 +57,42 b' use_gravatar = true' | |||
|
54 | 57 | container_auth_enabled = false |
|
55 | 58 | proxypass_auth_enabled = false |
|
56 | 59 | |
|
60 | ||
|
61 | ## overwrite schema of clone url | |
|
62 | ## available vars: | |
|
63 | ## scheme - http/https | |
|
64 | ## user - current user | |
|
65 | ## pass - password | |
|
66 | ## netloc - network location | |
|
67 | ## path - usually repo_name | |
|
68 | ||
|
69 | #clone_uri = {scheme}://{user}{pass}{netloc}{path} | |
|
70 | ||
|
71 | ## issue tracking mapping for commits messages | |
|
72 | ## comment out issue_pat, issue_server, issue_prefix to enable | |
|
73 | ||
|
74 | ## pattern to get the issues from commit messages | |
|
75 | ## default one used here is #<numbers> with a regex passive group for `#` | |
|
76 | ## {id} will be all groups matched from this pattern | |
|
77 | ||
|
78 | issue_pat = (?:\s*#)(\d+) | |
|
79 | ||
|
80 | ## server url to the issue, each {id} will be replaced with match | |
|
81 | ## fetched from the regex and {repo} is replaced with repository name | |
|
82 | ||
|
83 | issue_server_link = https://myissueserver.com/{repo}/issue/{id} | |
|
84 | ||
|
85 | ## prefix to add to link to indicate it's an url | |
|
86 | ## #314 will be replaced by <issue_prefix><id> | |
|
87 | ||
|
88 | issue_prefix = # | |
|
89 | ||
|
90 | ## instance-id prefix | |
|
91 | ## a prefix key for this instance used for cache invalidation when running | |
|
92 | ## multiple instances of rhodecode, make sure it's globally unique for | |
|
93 | ## all running rhodecode instances. Leave empty if you don't use it | |
|
94 | instance_id = | |
|
95 | ||
|
57 | 96 | #################################### |
|
58 | 97 | ### CELERY CONFIG #### |
|
59 | 98 | #################################### |
@@ -86,6 +125,7 b' celery.always.eager = false' | |||
|
86 | 125 | #################################### |
|
87 | 126 | beaker.cache.data_dir=/tmp/data/cache/data |
|
88 | 127 | beaker.cache.lock_dir=/tmp/data/cache/lock |
|
128 | ||
|
89 | 129 | beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
|
90 | 130 | |
|
91 | 131 | beaker.cache.super_short_term.type=memory |
@@ -119,11 +159,26 b' beaker.cache.sql_cache_long.key_length =' | |||
|
119 | 159 | ## dbm, file, memcached, database, and memory. |
|
120 | 160 | ## The storage uses the Container API |
|
121 | 161 | ##that is also used by the cache system. |
|
162 | ||
|
163 | ## db session example | |
|
164 | ||
|
165 | #beaker.session.type = ext:database | |
|
166 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode | |
|
167 | #beaker.session.table_name = db_session | |
|
168 | ||
|
169 | ## encrypted cookie session, good for many instances | |
|
170 | #beaker.session.type = cookie | |
|
171 | ||
|
122 | 172 | beaker.session.type = file |
|
123 | ||
|
124 | 173 | beaker.session.key = rhodecode |
|
125 | beaker.session.secret = g654dcno0-9873jhgfreyu | |
|
174 | # secure cookie requires AES python libraries | |
|
175 | #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu | |
|
176 | #beaker.session.validate_key = 9712sds2212c--zxc123 | |
|
126 | 177 | beaker.session.timeout = 36000 |
|
178 | beaker.session.httponly = true | |
|
179 | ||
|
180 | ## uncomment for https secure cookie | |
|
181 | beaker.session.secure = false | |
|
127 | 182 | |
|
128 | 183 | ##auto save the session to not to use .save() |
|
129 | 184 | beaker.session.auto = False |
@@ -159,7 +214,7 b' sqlalchemy.convert_unicode = true' | |||
|
159 | 214 | ### LOGGING CONFIGURATION #### |
|
160 | 215 | ################################ |
|
161 | 216 | [loggers] |
|
162 | keys = root, routes, rhodecode, sqlalchemy, beaker, templates | |
|
217 | keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer | |
|
163 | 218 | |
|
164 | 219 | [handlers] |
|
165 | 220 | keys = console |
@@ -205,6 +260,12 b' handlers = console' | |||
|
205 | 260 | qualname = sqlalchemy.engine |
|
206 | 261 | propagate = 0 |
|
207 | 262 | |
|
263 | [logger_whoosh_indexer] | |
|
264 | level = DEBUG | |
|
265 | handlers = | |
|
266 | qualname = whoosh_indexer | |
|
267 | propagate = 1 | |
|
268 | ||
|
208 | 269 | ############## |
|
209 | 270 | ## HANDLERS ## |
|
210 | 271 | ############## |
General Comments 0
You need to be logged in to leave comments.
Login now