##// END OF EJS Templates
removed default encryption in inis to not require AES
marcink -
r1831:ca302053 beta
parent child Browse files
Show More
@@ -1,267 +1,267 b''
1 1 ################################################################################
2 2 ################################################################################
3 3 # RhodeCode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
7 7
8 8 [DEFAULT]
9 9 debug = true
10 10 pdebug = false
11 11 ################################################################################
12 12 ## Uncomment and replace with the address which should receive ##
13 13 ## any error reports after application crash ##
14 14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 15 ################################################################################
16 16 #email_to = admin@localhost
17 17 #error_email_from = paste_error@localhost
18 18 #app_email_from = rhodecode-noreply@localhost
19 19 #error_message =
20 20 #email_prefix = [RhodeCode]
21 21
22 22 #smtp_server = mail.server.com
23 23 #smtp_username =
24 24 #smtp_password =
25 25 #smtp_port =
26 26 #smtp_use_tls = false
27 27 #smtp_use_ssl = true
28 28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 29 #smtp_auth =
30 30
31 31 [server:main]
32 32 ##nr of threads to spawn
33 33 threadpool_workers = 5
34 34
35 35 ##max request before thread respawn
36 36 threadpool_max_requests = 10
37 37
38 38 ##option to use threads of process
39 39 use_threadpool = true
40 40
41 41 use = egg:Paste#http
42 42 host = 0.0.0.0
43 43 port = 5000
44 44
45 45 [app:main]
46 46 use = egg:rhodecode
47 47 full_stack = true
48 48 static_files = true
49 49 lang=en
50 50 cache_dir = %(here)s/data
51 51 index_dir = %(here)s/data/index
52 52 app_instance_uuid = develop
53 53 cut_off_limit = 256000
54 54 force_https = false
55 55 commit_parse_limit = 25
56 56 use_gravatar = true
57 57 container_auth_enabled = false
58 58 proxypass_auth_enabled = false
59 59
60 60 ## overwrite schema of clone url
61 61 # available vars:
62 62 # scheme - http/https
63 63 # user - current user
64 64 # pass - password
65 65 # netloc - network location
66 66 # path - usually repo_name
67 67 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
68 68
69 69 ####################################
70 70 ### CELERY CONFIG ####
71 71 ####################################
72 72 use_celery = false
73 73 broker.host = localhost
74 74 broker.vhost = rabbitmqhost
75 75 broker.port = 5672
76 76 broker.user = rabbitmq
77 77 broker.password = qweqwe
78 78
79 79 celery.imports = rhodecode.lib.celerylib.tasks
80 80
81 81 celery.result.backend = amqp
82 82 celery.result.dburi = amqp://
83 83 celery.result.serialier = json
84 84
85 85 #celery.send.task.error.emails = true
86 86 #celery.amqp.task.result.expires = 18000
87 87
88 88 celeryd.concurrency = 2
89 89 #celeryd.log.file = celeryd.log
90 90 celeryd.log.level = debug
91 91 celeryd.max.tasks.per.child = 1
92 92
93 93 #tasks will never be sent to the queue, but executed locally instead.
94 94 celery.always.eager = false
95 95
96 96 ####################################
97 97 ### BEAKER CACHE ####
98 98 ####################################
99 99 beaker.cache.data_dir=%(here)s/data/cache/data
100 100 beaker.cache.lock_dir=%(here)s/data/cache/lock
101 101
102 102 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
103 103
104 104 beaker.cache.super_short_term.type=memory
105 105 beaker.cache.super_short_term.expire=10
106 106 beaker.cache.super_short_term.key_length = 256
107 107
108 108 beaker.cache.short_term.type=memory
109 109 beaker.cache.short_term.expire=60
110 110 beaker.cache.short_term.key_length = 256
111 111
112 112 beaker.cache.long_term.type=memory
113 113 beaker.cache.long_term.expire=36000
114 114 beaker.cache.long_term.key_length = 256
115 115
116 116 beaker.cache.sql_cache_short.type=memory
117 117 beaker.cache.sql_cache_short.expire=10
118 118 beaker.cache.sql_cache_short.key_length = 256
119 119
120 120 beaker.cache.sql_cache_med.type=memory
121 121 beaker.cache.sql_cache_med.expire=360
122 122 beaker.cache.sql_cache_med.key_length = 256
123 123
124 124 beaker.cache.sql_cache_long.type=file
125 125 beaker.cache.sql_cache_long.expire=3600
126 126 beaker.cache.sql_cache_long.key_length = 256
127 127
128 128 ####################################
129 129 ### BEAKER SESSION ####
130 130 ####################################
131 131 ## Type of storage used for the session, current types are
132 132 ## dbm, file, memcached, database, and memory.
133 133 ## The storage uses the Container API
134 134 ## that is also used by the cache system.
135 135
136 136 ## db session example
137 137
138 138 #beaker.session.type = ext:database
139 139 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
140 140 #beaker.session.table_name = db_session
141 141
142 142 ## encrypted cookie session, good for many instances
143 143 #beaker.session.type = cookie
144 144
145 145 beaker.session.type = file
146 146 beaker.session.key = rhodecode
147 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
148 beaker.session.validate_key = 9712sds2212c--zxc123
147 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
148 #beaker.session.validate_key = 9712sds2212c--zxc123
149 149 beaker.session.timeout = 36000
150 150 beaker.session.httponly = true
151 151
152 152 ## uncomment for https secure cookie
153 153 beaker.session.secure = false
154 154
155 155 ##auto save the session to not to use .save()
156 156 beaker.session.auto = False
157 157
158 158 ##true exire at browser close
159 159 #beaker.session.cookie_expires = 3600
160 160
161 161
162 162 ################################################################################
163 163 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
164 164 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
165 165 ## execute malicious code after an exception is raised. ##
166 166 ################################################################################
167 167 #set debug = false
168 168
169 169 ##################################
170 170 ### LOGVIEW CONFIG ###
171 171 ##################################
172 172 logview.sqlalchemy = #faa
173 173 logview.pylons.templating = #bfb
174 174 logview.pylons.util = #eee
175 175
176 176 #########################################################
177 177 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
178 178 #########################################################
179 179 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
180 180 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
181 181 sqlalchemy.db1.echo = false
182 182 sqlalchemy.db1.pool_recycle = 3600
183 183 sqlalchemy.convert_unicode = true
184 184
185 185 ################################
186 186 ### LOGGING CONFIGURATION ####
187 187 ################################
188 188 [loggers]
189 189 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
190 190
191 191 [handlers]
192 192 keys = console, console_sql
193 193
194 194 [formatters]
195 195 keys = generic, color_formatter, color_formatter_sql
196 196
197 197 #############
198 198 ## LOGGERS ##
199 199 #############
200 200 [logger_root]
201 201 level = NOTSET
202 202 handlers = console
203 203
204 204 [logger_routes]
205 205 level = DEBUG
206 206 handlers =
207 207 qualname = routes.middleware
208 208 # "level = DEBUG" logs the route matched and routing variables.
209 209 propagate = 1
210 210
211 211 [logger_beaker]
212 212 level = DEBUG
213 213 handlers =
214 214 qualname = beaker.container
215 215 propagate = 1
216 216
217 217 [logger_templates]
218 218 level = INFO
219 219 handlers =
220 220 qualname = pylons.templating
221 221 propagate = 1
222 222
223 223 [logger_rhodecode]
224 224 level = DEBUG
225 225 handlers =
226 226 qualname = rhodecode
227 227 propagate = 1
228 228
229 229 [logger_sqlalchemy]
230 230 level = INFO
231 231 handlers = console_sql
232 232 qualname = sqlalchemy.engine
233 233 propagate = 0
234 234
235 235 ##############
236 236 ## HANDLERS ##
237 237 ##############
238 238
239 239 [handler_console]
240 240 class = StreamHandler
241 241 args = (sys.stderr,)
242 242 level = DEBUG
243 243 formatter = color_formatter
244 244
245 245 [handler_console_sql]
246 246 class = StreamHandler
247 247 args = (sys.stderr,)
248 248 level = DEBUG
249 249 formatter = color_formatter_sql
250 250
251 251 ################
252 252 ## FORMATTERS ##
253 253 ################
254 254
255 255 [formatter_generic]
256 256 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
257 257 datefmt = %Y-%m-%d %H:%M:%S
258 258
259 259 [formatter_color_formatter]
260 260 class=rhodecode.lib.colored_formatter.ColorFormatter
261 261 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
262 262 datefmt = %Y-%m-%d %H:%M:%S
263 263
264 264 [formatter_color_formatter_sql]
265 265 class=rhodecode.lib.colored_formatter.ColorFormatterSql
266 266 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
267 267 datefmt = %Y-%m-%d %H:%M:%S
@@ -1,267 +1,267 b''
1 1 ################################################################################
2 2 ################################################################################
3 3 # RhodeCode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
7 7
8 8 [DEFAULT]
9 9 debug = true
10 10 pdebug = false
11 11 ################################################################################
12 12 ## Uncomment and replace with the address which should receive ##
13 13 ## any error reports after application crash ##
14 14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 15 ################################################################################
16 16 #email_to = admin@localhost
17 17 #error_email_from = paste_error@localhost
18 18 #app_email_from = rhodecode-noreply@localhost
19 19 #error_message =
20 20 #email_prefix = [RhodeCode]
21 21
22 22 #smtp_server = mail.server.com
23 23 #smtp_username =
24 24 #smtp_password =
25 25 #smtp_port =
26 26 #smtp_use_tls = false
27 27 #smtp_use_ssl = true
28 28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 29 #smtp_auth =
30 30
31 31 [server:main]
32 32 ##nr of threads to spawn
33 33 threadpool_workers = 5
34 34
35 35 ##max request before thread respawn
36 36 threadpool_max_requests = 10
37 37
38 38 ##option to use threads of process
39 39 use_threadpool = true
40 40
41 41 use = egg:Paste#http
42 42 host = 127.0.0.1
43 43 port = 8001
44 44
45 45 [app:main]
46 46 use = egg:rhodecode
47 47 full_stack = true
48 48 static_files = true
49 49 lang=en
50 50 cache_dir = %(here)s/data
51 51 index_dir = %(here)s/data/index
52 52 app_instance_uuid = prod1234
53 53 cut_off_limit = 256000
54 54 force_https = false
55 55 commit_parse_limit = 50
56 56 use_gravatar = true
57 57 container_auth_enabled = false
58 58 proxypass_auth_enabled = false
59 59
60 60 ## overwrite schema of clone url
61 61 # available vars:
62 62 # scheme - http/https
63 63 # user - current user
64 64 # pass - password
65 65 # netloc - network location
66 66 # path - usually repo_name
67 67 # clone_uri = {scheme}://{user}{pass}{netloc}{path}
68 68
69 69 ####################################
70 70 ### CELERY CONFIG ####
71 71 ####################################
72 72 use_celery = false
73 73 broker.host = localhost
74 74 broker.vhost = rabbitmqhost
75 75 broker.port = 5672
76 76 broker.user = rabbitmq
77 77 broker.password = qweqwe
78 78
79 79 celery.imports = rhodecode.lib.celerylib.tasks
80 80
81 81 celery.result.backend = amqp
82 82 celery.result.dburi = amqp://
83 83 celery.result.serialier = json
84 84
85 85 #celery.send.task.error.emails = true
86 86 #celery.amqp.task.result.expires = 18000
87 87
88 88 celeryd.concurrency = 2
89 89 #celeryd.log.file = celeryd.log
90 90 celeryd.log.level = debug
91 91 celeryd.max.tasks.per.child = 1
92 92
93 93 #tasks will never be sent to the queue, but executed locally instead.
94 94 celery.always.eager = false
95 95
96 96 ####################################
97 97 ### BEAKER CACHE ####
98 98 ####################################
99 99 beaker.cache.data_dir=%(here)s/data/cache/data
100 100 beaker.cache.lock_dir=%(here)s/data/cache/lock
101 101
102 102 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
103 103
104 104 beaker.cache.super_short_term.type=memory
105 105 beaker.cache.super_short_term.expire=10
106 106 beaker.cache.super_short_term.key_length = 256
107 107
108 108 beaker.cache.short_term.type=memory
109 109 beaker.cache.short_term.expire=60
110 110 beaker.cache.short_term.key_length = 256
111 111
112 112 beaker.cache.long_term.type=memory
113 113 beaker.cache.long_term.expire=36000
114 114 beaker.cache.long_term.key_length = 256
115 115
116 116 beaker.cache.sql_cache_short.type=memory
117 117 beaker.cache.sql_cache_short.expire=10
118 118 beaker.cache.sql_cache_short.key_length = 256
119 119
120 120 beaker.cache.sql_cache_med.type=memory
121 121 beaker.cache.sql_cache_med.expire=360
122 122 beaker.cache.sql_cache_med.key_length = 256
123 123
124 124 beaker.cache.sql_cache_long.type=file
125 125 beaker.cache.sql_cache_long.expire=3600
126 126 beaker.cache.sql_cache_long.key_length = 256
127 127
128 128 ####################################
129 129 ### BEAKER SESSION ####
130 130 ####################################
131 131 ## Type of storage used for the session, current types are
132 132 ## dbm, file, memcached, database, and memory.
133 133 ## The storage uses the Container API
134 134 ## that is also used by the cache system.
135 135
136 136 ## db session example
137 137
138 138 #beaker.session.type = ext:database
139 139 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
140 140 #beaker.session.table_name = db_session
141 141
142 142 ## encrypted cookie session, good for many instances
143 143 #beaker.session.type = cookie
144 144
145 145 beaker.session.type = file
146 146 beaker.session.key = rhodecode
147 beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
148 beaker.session.validate_key = 9712sds2212c--zxc123
147 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
148 #beaker.session.validate_key = 9712sds2212c--zxc123
149 149 beaker.session.timeout = 36000
150 150 beaker.session.httponly = true
151 151
152 152 ## uncomment for https secure cookie
153 153 beaker.session.secure = false
154 154
155 155 ##auto save the session to not to use .save()
156 156 beaker.session.auto = False
157 157
158 158 ##true exire at browser close
159 159 #beaker.session.cookie_expires = 3600
160 160
161 161
162 162 ################################################################################
163 163 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
164 164 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
165 165 ## execute malicious code after an exception is raised. ##
166 166 ################################################################################
167 167 set debug = false
168 168
169 169 ##################################
170 170 ### LOGVIEW CONFIG ###
171 171 ##################################
172 172 logview.sqlalchemy = #faa
173 173 logview.pylons.templating = #bfb
174 174 logview.pylons.util = #eee
175 175
176 176 #########################################################
177 177 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
178 178 #########################################################
179 179 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db
180 180 sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode
181 181 sqlalchemy.db1.echo = false
182 182 sqlalchemy.db1.pool_recycle = 3600
183 183 sqlalchemy.convert_unicode = true
184 184
185 185 ################################
186 186 ### LOGGING CONFIGURATION ####
187 187 ################################
188 188 [loggers]
189 189 keys = root, routes, rhodecode, sqlalchemy, beaker, templates
190 190
191 191 [handlers]
192 192 keys = console, console_sql
193 193
194 194 [formatters]
195 195 keys = generic, color_formatter, color_formatter_sql
196 196
197 197 #############
198 198 ## LOGGERS ##
199 199 #############
200 200 [logger_root]
201 201 level = NOTSET
202 202 handlers = console
203 203
204 204 [logger_routes]
205 205 level = DEBUG
206 206 handlers =
207 207 qualname = routes.middleware
208 208 # "level = DEBUG" logs the route matched and routing variables.
209 209 propagate = 1
210 210
211 211 [logger_beaker]
212 212 level = DEBUG
213 213 handlers =
214 214 qualname = beaker.container
215 215 propagate = 1
216 216
217 217 [logger_templates]
218 218 level = INFO
219 219 handlers =
220 220 qualname = pylons.templating
221 221 propagate = 1
222 222
223 223 [logger_rhodecode]
224 224 level = DEBUG
225 225 handlers =
226 226 qualname = rhodecode
227 227 propagate = 1
228 228
229 229 [logger_sqlalchemy]
230 230 level = INFO
231 231 handlers = console_sql
232 232 qualname = sqlalchemy.engine
233 233 propagate = 0
234 234
235 235 ##############
236 236 ## HANDLERS ##
237 237 ##############
238 238
239 239 [handler_console]
240 240 class = StreamHandler
241 241 args = (sys.stderr,)
242 242 level = INFO
243 243 formatter = generic
244 244
245 245 [handler_console_sql]
246 246 class = StreamHandler
247 247 args = (sys.stderr,)
248 248 level = WARN
249 249 formatter = generic
250 250
251 251 ################
252 252 ## FORMATTERS ##
253 253 ################
254 254
255 255 [formatter_generic]
256 256 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
257 257 datefmt = %Y-%m-%d %H:%M:%S
258 258
259 259 [formatter_color_formatter]
260 260 class=rhodecode.lib.colored_formatter.ColorFormatter
261 261 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
262 262 datefmt = %Y-%m-%d %H:%M:%S
263 263
264 264 [formatter_color_formatter_sql]
265 265 class=rhodecode.lib.colored_formatter.ColorFormatterSql
266 266 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
267 267 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now