Show More
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||
|
63 | 63 | ## restarted |
|
64 | 64 | #timeout = 3600 |
|
65 | 65 | |
|
66 | ## UWSGI ## | |
|
67 | ## run with uwsgi --ini-paste-logged <inifile.ini> | |
|
68 | #[uwsgi] | |
|
69 | #socket = /tmp/uwsgi.sock | |
|
70 | #master = true | |
|
71 | #http = 0.0.0.0:5000 | |
|
72 | ||
|
73 | ## set as deamon and redirect all output to file | |
|
74 | #daemonize = ./uwsgi_rhodecode.log | |
|
75 | ||
|
76 | ## master process PID | |
|
77 | #pidfile = ./uwsgi_rhodecode.pid | |
|
78 | ||
|
79 | ## stats server with workers statistics, use uwsgitop | |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
|
81 | #stats = 127.0.0.1:1717 | |
|
82 | ||
|
83 | ## log 5XX errors | |
|
84 | #log-5xx = true | |
|
85 | ||
|
86 | ## Set the socket listen queue size. | |
|
87 | #listen = 256 | |
|
88 | ||
|
89 | ## Gracefully Reload workers after the specified amount of managed requests | |
|
90 | ## (avoid memory leaks). | |
|
91 | #max-requests = 1000 | |
|
92 | ||
|
93 | ## Log requests slower than the specified number of milliseconds. | |
|
94 | #log-slow = 10 | |
|
95 | ||
|
96 | ## Exit if no app can be loaded. | |
|
97 | #need-app = true | |
|
98 | ||
|
99 | ## Set lazy mode (load apps in workers instead of master). | |
|
100 | #lazy = true | |
|
101 | ||
|
102 | ## scaling ## | |
|
103 | ## set cheaper algorithm to use, if not set default will be used | |
|
104 | #cheaper-algo = spare | |
|
105 | ||
|
106 | # minimum number of workers to keep at all times | |
|
107 | #cheaper = 1 | |
|
108 | ||
|
109 | # number of workers to spawn at startup | |
|
110 | #cheaper-initial = 1 | |
|
111 | ||
|
112 | # maximum number of workers that can be spawned | |
|
113 | #workers = 4 | |
|
114 | ||
|
115 | # how many workers should be spawned at a time | |
|
116 | #cheaper-step = 1 | |
|
117 | ||
|
66 | 118 | ## COMMON ## |
|
67 | 119 | host = 0.0.0.0 |
|
68 | 120 | port = 5000 |
@@ -130,7 +182,7 b' show_sha_length = 12' | |||
|
130 | 182 | show_revision_number = true |
|
131 | 183 | |
|
132 | 184 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
133 |
## url that does rewrites to _admin/gists/<gistid>. |
|
|
185 | ## url that does rewrites to _admin/gists/<gistid>. | |
|
134 | 186 | ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal |
|
135 | 187 | ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid> |
|
136 | 188 | gist_alias_url = |
@@ -140,7 +192,12 b' gist_alias_url =' | |||
|
140 | 192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
141 | 193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
142 | 194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
195 | ## Recommended settings bellow are commented out: | |
|
143 | 196 | api_access_controllers_whitelist = |
|
197 | # ChangesetController:changeset_patch, | |
|
198 | # ChangesetController:changeset_raw, | |
|
199 | # FilesController:raw, | |
|
200 | # FilesController:archivefile | |
|
144 | 201 | |
|
145 | 202 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
146 | 203 | ## the following parts of the URL will be replaced |
@@ -208,7 +265,7 b' issue_prefix = #' | |||
|
208 | 265 | ## a prefix key for this instance used for cache invalidation when running |
|
209 | 266 | ## multiple instances of rhodecode, make sure it's globally unique for |
|
210 | 267 | ## all running rhodecode instances. Leave empty if you don't use it |
|
211 |
instance_id = |
|
|
268 | instance_id = | |
|
212 | 269 | |
|
213 | 270 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
214 | 271 | ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
@@ -305,7 +362,7 b' beaker.cache.sql_cache_long.key_length =' | |||
|
305 | 362 | #beaker.session.type = file |
|
306 | 363 | |
|
307 | 364 | beaker.session.key = rhodecode |
|
308 | beaker.session.secret = ${app_instance_uuid} | |
|
365 | beaker.session.secret = develop-rc-uytcxaz | |
|
309 | 366 | |
|
310 | 367 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
311 | 368 | ## you must disable beaker.session.secret to use this |
@@ -425,8 +482,9 b' logview.pylons.util = #eee' | |||
|
425 | 482 | ######################################################### |
|
426 | 483 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
427 | 484 | ######################################################### |
|
428 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db | |
|
429 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode | |
|
485 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30 | |
|
486 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode | |
|
487 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode | |
|
430 | 488 | sqlalchemy.db1.echo = false |
|
431 | 489 | sqlalchemy.db1.pool_recycle = 3600 |
|
432 | 490 | sqlalchemy.db1.convert_unicode = true |
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||
|
63 | 63 | ## restarted |
|
64 | 64 | #timeout = 3600 |
|
65 | 65 | |
|
66 | ## UWSGI ## | |
|
67 | ## run with uwsgi --ini-paste-logged <inifile.ini> | |
|
68 | #[uwsgi] | |
|
69 | #socket = /tmp/uwsgi.sock | |
|
70 | #master = true | |
|
71 | #http = 127.0.0.1:5000 | |
|
72 | ||
|
73 | ## set as deamon and redirect all output to file | |
|
74 | #daemonize = ./uwsgi_rhodecode.log | |
|
75 | ||
|
76 | ## master process PID | |
|
77 | #pidfile = ./uwsgi_rhodecode.pid | |
|
78 | ||
|
79 | ## stats server with workers statistics, use uwsgitop | |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
|
81 | #stats = 127.0.0.1:1717 | |
|
82 | ||
|
83 | ## log 5XX errors | |
|
84 | #log-5xx = true | |
|
85 | ||
|
86 | ## Set the socket listen queue size. | |
|
87 | #listen = 256 | |
|
88 | ||
|
89 | ## Gracefully Reload workers after the specified amount of managed requests | |
|
90 | ## (avoid memory leaks). | |
|
91 | #max-requests = 1000 | |
|
92 | ||
|
93 | ## Log requests slower than the specified number of milliseconds. | |
|
94 | #log-slow = 10 | |
|
95 | ||
|
96 | ## Exit if no app can be loaded. | |
|
97 | #need-app = true | |
|
98 | ||
|
99 | ## Set lazy mode (load apps in workers instead of master). | |
|
100 | #lazy = true | |
|
101 | ||
|
102 | ## scaling ## | |
|
103 | ## set cheaper algorithm to use, if not set default will be used | |
|
104 | #cheaper-algo = spare | |
|
105 | ||
|
106 | # minimum number of workers to keep at all times | |
|
107 | #cheaper = 1 | |
|
108 | ||
|
109 | # number of workers to spawn at startup | |
|
110 | #cheaper-initial = 1 | |
|
111 | ||
|
112 | # maximum number of workers that can be spawned | |
|
113 | #workers = 4 | |
|
114 | ||
|
115 | # how many workers should be spawned at a time | |
|
116 | #cheaper-step = 1 | |
|
117 | ||
|
66 | 118 | ## COMMON ## |
|
67 | 119 | host = 127.0.0.1 |
|
68 | 120 | port = 5000 |
@@ -130,7 +182,7 b' show_sha_length = 12' | |||
|
130 | 182 | show_revision_number = true |
|
131 | 183 | |
|
132 | 184 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
133 |
## url that does rewrites to _admin/gists/<gistid>. |
|
|
185 | ## url that does rewrites to _admin/gists/<gistid>. | |
|
134 | 186 | ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal |
|
135 | 187 | ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid> |
|
136 | 188 | gist_alias_url = |
@@ -140,7 +192,12 b' gist_alias_url =' | |||
|
140 | 192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
141 | 193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
142 | 194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
195 | ## Recommended settings bellow are commented out: | |
|
143 | 196 | api_access_controllers_whitelist = |
|
197 | # ChangesetController:changeset_patch, | |
|
198 | # ChangesetController:changeset_raw, | |
|
199 | # FilesController:raw, | |
|
200 | # FilesController:archivefile | |
|
144 | 201 | |
|
145 | 202 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
146 | 203 | ## the following parts of the URL will be replaced |
@@ -208,7 +265,7 b' issue_prefix = #' | |||
|
208 | 265 | ## a prefix key for this instance used for cache invalidation when running |
|
209 | 266 | ## multiple instances of rhodecode, make sure it's globally unique for |
|
210 | 267 | ## all running rhodecode instances. Leave empty if you don't use it |
|
211 |
instance_id = |
|
|
268 | instance_id = | |
|
212 | 269 | |
|
213 | 270 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
214 | 271 | ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
@@ -305,7 +362,7 b' beaker.cache.sql_cache_long.key_length =' | |||
|
305 | 362 | #beaker.session.type = file |
|
306 | 363 | |
|
307 | 364 | beaker.session.key = rhodecode |
|
308 | beaker.session.secret = ${app_instance_uuid} | |
|
365 | beaker.session.secret = production-rc-uytcxaz | |
|
309 | 366 | |
|
310 | 367 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
311 | 368 | ## you must disable beaker.session.secret to use this |
@@ -425,8 +482,9 b' logview.pylons.util = #eee' | |||
|
425 | 482 | ######################################################### |
|
426 | 483 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
427 | 484 | ######################################################### |
|
428 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db | |
|
429 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode | |
|
485 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30 | |
|
486 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode | |
|
487 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode | |
|
430 | 488 | sqlalchemy.db1.echo = false |
|
431 | 489 | sqlalchemy.db1.pool_recycle = 3600 |
|
432 | 490 | sqlalchemy.db1.convert_unicode = true |
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||
|
63 | 63 | ## restarted |
|
64 | 64 | #timeout = 3600 |
|
65 | 65 | |
|
66 | ## UWSGI ## | |
|
67 | ## run with uwsgi --ini-paste-logged <inifile.ini> | |
|
68 | #[uwsgi] | |
|
69 | #socket = /tmp/uwsgi.sock | |
|
70 | #master = true | |
|
71 | #http = 127.0.0.1:5000 | |
|
72 | ||
|
73 | ## set as deamon and redirect all output to file | |
|
74 | #daemonize = ./uwsgi_rhodecode.log | |
|
75 | ||
|
76 | ## master process PID | |
|
77 | #pidfile = ./uwsgi_rhodecode.pid | |
|
78 | ||
|
79 | ## stats server with workers statistics, use uwsgitop | |
|
80 | ## for monitoring, `uwsgitop 127.0.0.1:1717` | |
|
81 | #stats = 127.0.0.1:1717 | |
|
82 | ||
|
83 | ## log 5XX errors | |
|
84 | #log-5xx = true | |
|
85 | ||
|
86 | ## Set the socket listen queue size. | |
|
87 | #listen = 256 | |
|
88 | ||
|
89 | ## Gracefully Reload workers after the specified amount of managed requests | |
|
90 | ## (avoid memory leaks). | |
|
91 | #max-requests = 1000 | |
|
92 | ||
|
93 | ## Log requests slower than the specified number of milliseconds. | |
|
94 | #log-slow = 10 | |
|
95 | ||
|
96 | ## Exit if no app can be loaded. | |
|
97 | #need-app = true | |
|
98 | ||
|
99 | ## Set lazy mode (load apps in workers instead of master). | |
|
100 | #lazy = true | |
|
101 | ||
|
102 | ## scaling ## | |
|
103 | ## set cheaper algorithm to use, if not set default will be used | |
|
104 | #cheaper-algo = spare | |
|
105 | ||
|
106 | # minimum number of workers to keep at all times | |
|
107 | #cheaper = 1 | |
|
108 | ||
|
109 | # number of workers to spawn at startup | |
|
110 | #cheaper-initial = 1 | |
|
111 | ||
|
112 | # maximum number of workers that can be spawned | |
|
113 | #workers = 4 | |
|
114 | ||
|
115 | # how many workers should be spawned at a time | |
|
116 | #cheaper-step = 1 | |
|
117 | ||
|
66 | 118 | ## COMMON ## |
|
67 | 119 | host = 127.0.0.1 |
|
68 | 120 | port = 5000 |
@@ -130,7 +182,7 b' show_sha_length = 12' | |||
|
130 | 182 | show_revision_number = true |
|
131 | 183 | |
|
132 | 184 | ## gist URL alias, used to create nicer urls for gist. This should be an |
|
133 |
## url that does rewrites to _admin/gists/<gistid>. |
|
|
185 | ## url that does rewrites to _admin/gists/<gistid>. | |
|
134 | 186 | ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal |
|
135 | 187 | ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid> |
|
136 | 188 | gist_alias_url = |
@@ -140,7 +192,12 b' gist_alias_url =' | |||
|
140 | 192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
141 | 193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
142 | 194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
195 | ## Recommended settings bellow are commented out: | |
|
143 | 196 | api_access_controllers_whitelist = |
|
197 | # ChangesetController:changeset_patch, | |
|
198 | # ChangesetController:changeset_raw, | |
|
199 | # FilesController:raw, | |
|
200 | # FilesController:archivefile | |
|
144 | 201 | |
|
145 | 202 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
146 | 203 | ## the following parts of the URL will be replaced |
@@ -208,7 +265,7 b' issue_prefix = #' | |||
|
208 | 265 | ## a prefix key for this instance used for cache invalidation when running |
|
209 | 266 | ## multiple instances of rhodecode, make sure it's globally unique for |
|
210 | 267 | ## all running rhodecode instances. Leave empty if you don't use it |
|
211 |
instance_id = |
|
|
268 | instance_id = | |
|
212 | 269 | |
|
213 | 270 | ## alternative return HTTP header for failed authentication. Default HTTP |
|
214 | 271 | ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
@@ -427,7 +484,7 b' logview.pylons.util = #eee' | |||
|
427 | 484 | ######################################################### |
|
428 | 485 | |
|
429 | 486 | # SQLITE [default] |
|
430 | sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db | |
|
487 | sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30 | |
|
431 | 488 | |
|
432 | 489 | # POSTGRESQL |
|
433 | 490 | # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode |
General Comments 0
You need to be logged in to leave comments.
Login now