comparison development.ini @ 2776:63e58ef80ef1

Merge beta branch into stable
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 02 Sep 2012 21:19:54 +0200
parents dc2584ba5fbc e291f25ea87f
children d998cc84cf72
comparison
equal deleted inserted replaced
2301:9d097c2592d3 2776:63e58ef80ef1
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) 28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth = 29 #smtp_auth =
30 30
31 [server:main] 31 [server:main]
32 ##nr of threads to spawn 32 ##nr of threads to spawn
33 threadpool_workers = 5 33 #threadpool_workers = 5
34 34
35 ##max request before thread respawn 35 ##max request before thread respawn
36 threadpool_max_requests = 10 36 #threadpool_max_requests = 10
37 37
38 ##option to use threads of process 38 ##option to use threads of process
39 use_threadpool = true 39 #use_threadpool = true
40 40
41 use = egg:Paste#http 41 #use = egg:Paste#http
42 use = egg:waitress#main
42 host = 0.0.0.0 43 host = 0.0.0.0
43 port = 5000 44 port = 5000
44 45
46 [filter:proxy-prefix]
47 # prefix middleware for rc
48 use = egg:PasteDeploy#prefix
49 prefix = /<your-prefix>
50
45 [app:main] 51 [app:main]
46 use = egg:rhodecode 52 use = egg:rhodecode
53 #filter-with = proxy-prefix
47 full_stack = true 54 full_stack = true
48 static_files = true 55 static_files = true
56 # Optional Languages
57 # en, fr, ja, pt_BR, zh_CN, zh_TW
49 lang = en 58 lang = en
50 cache_dir = %(here)s/data 59 cache_dir = %(here)s/data
51 index_dir = %(here)s/data/index 60 index_dir = %(here)s/data/index
52 app_instance_uuid = rc-develop 61 app_instance_uuid = rc-develop
53 cut_off_limit = 256000 62 cut_off_limit = 256000
54 force_https = false 63 force_https = false
55 commit_parse_limit = 25 64 commit_parse_limit = 25
56 use_gravatar = true 65 use_gravatar = true
66
67 ## alternative_gravatar_url allows you to use your own avatar server application
68 ## the following parts of the URL will be replaced
69 ## {email} user email
70 ## {md5email} md5 hash of the user email (like at gravatar.com)
71 ## {size} size of the image that is expected from the server application
72 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
73 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
74
57 container_auth_enabled = false 75 container_auth_enabled = false
58 proxypass_auth_enabled = false 76 proxypass_auth_enabled = false
59 default_encoding = utf8 77 default_encoding = utf8
60 78
61 ## overwrite schema of clone url 79 ## overwrite schema of clone url
76 ## {id} will be all groups matched from this pattern 94 ## {id} will be all groups matched from this pattern
77 95
78 issue_pat = (?:\s*#)(\d+) 96 issue_pat = (?:\s*#)(\d+)
79 97
80 ## server url to the issue, each {id} will be replaced with match 98 ## server url to the issue, each {id} will be replaced with match
81 ## fetched from the regex and {repo} is replaced with repository name 99 ## fetched from the regex and {repo} is replaced with full repository name
100 ## including groups {repo_name} is replaced with just name of repo
82 101
83 issue_server_link = https://myissueserver.com/{repo}/issue/{id} 102 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
84 103
85 ## prefix to add to link to indicate it's an url 104 ## prefix to add to link to indicate it's an url
86 ## #314 will be replaced by <issue_prefix><id> 105 ## #314 will be replaced by <issue_prefix><id>
163 ## Type of storage used for the session, current types are 182 ## Type of storage used for the session, current types are
164 ## dbm, file, memcached, database, and memory. 183 ## dbm, file, memcached, database, and memory.
165 ## The storage uses the Container API 184 ## The storage uses the Container API
166 ## that is also used by the cache system. 185 ## that is also used by the cache system.
167 186
168 ## db session example 187 ## db session ##
169
170 #beaker.session.type = ext:database 188 #beaker.session.type = ext:database
171 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode 189 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
172 #beaker.session.table_name = db_session 190 #beaker.session.table_name = db_session
173 191
174 ## encrypted cookie session, good for many instances 192 ## encrypted cookie client side session, good for many instances ##
175 #beaker.session.type = cookie 193 #beaker.session.type = cookie
176 194
177 beaker.session.type = file 195 ## file based cookies (default) ##
196 #beaker.session.type = file
197
198
178 beaker.session.key = rhodecode 199 beaker.session.key = rhodecode
179 # secure cookie requires AES python libraries 200 ## secure cookie requires AES python libraries ##
180 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu 201 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
181 #beaker.session.validate_key = 9712sds2212c--zxc123 202 #beaker.session.validate_key = 9712sds2212c--zxc123
182 beaker.session.timeout = 36000 203 ## sets session as invalid if it haven't been accessed for given amount of time
204 beaker.session.timeout = 2592000
183 beaker.session.httponly = true 205 beaker.session.httponly = true
184 206 #beaker.session.cookie_path = /<your-prefix>
185 ## uncomment for https secure cookie 207
208 ## uncomment for https secure cookie ##
186 beaker.session.secure = false 209 beaker.session.secure = false
187 210
188 ##auto save the session to not to use .save() 211 ## auto save the session to not to use .save() ##
189 beaker.session.auto = False 212 beaker.session.auto = False
190 213
191 ##true exire at browser close 214 ## default cookie expiration time in seconds `true` expire at browser close ##
192 #beaker.session.cookie_expires = 3600 215 #beaker.session.cookie_expires = 3600
193 216
194 217
195 ################################################################################ 218 ################################################################################
196 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## 219 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##