Show More
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||||
63 | ## restarted |
|
63 | ## restarted | |
64 | #timeout = 3600 |
|
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 | ## COMMON ## |
|
118 | ## COMMON ## | |
67 | host = 0.0.0.0 |
|
119 | host = 0.0.0.0 | |
68 | port = 5000 |
|
120 | port = 5000 | |
@@ -140,7 +192,12 b' gist_alias_url =' | |||||
140 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches | |
141 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated | |
142 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names | |
|
195 | ## Recommended settings bellow are commented out: | |||
143 | api_access_controllers_whitelist = |
|
196 | api_access_controllers_whitelist = | |
|
197 | # ChangesetController:changeset_patch, | |||
|
198 | # ChangesetController:changeset_raw, | |||
|
199 | # FilesController:raw, | |||
|
200 | # FilesController:archivefile | |||
144 |
|
201 | |||
145 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
202 | ## alternative_gravatar_url allows you to use your own avatar server application | |
146 | ## the following parts of the URL will be replaced |
|
203 | ## the following parts of the URL will be replaced | |
@@ -305,7 +362,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
305 | #beaker.session.type = file |
|
362 | #beaker.session.type = file | |
306 |
|
363 | |||
307 | beaker.session.key = rhodecode |
|
364 | beaker.session.key = rhodecode | |
308 | beaker.session.secret = ${app_instance_uuid} |
|
365 | beaker.session.secret = develop-rc-uytcxaz | |
309 |
|
366 | |||
310 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
367 | ## Secure encrypted cookie. Requires AES and AES python libraries | |
311 | ## you must disable beaker.session.secret to use this |
|
368 | ## you must disable beaker.session.secret to use this | |
@@ -425,8 +482,9 b' logview.pylons.util = #eee' | |||||
425 | ######################################################### |
|
482 | ######################################################### | |
426 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
483 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### | |
427 | ######################################################### |
|
484 | ######################################################### | |
428 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db |
|
485 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30 | |
429 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode |
|
486 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode | |
|
487 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode | |||
430 | sqlalchemy.db1.echo = false |
|
488 | sqlalchemy.db1.echo = false | |
431 | sqlalchemy.db1.pool_recycle = 3600 |
|
489 | sqlalchemy.db1.pool_recycle = 3600 | |
432 | sqlalchemy.db1.convert_unicode = true |
|
490 | sqlalchemy.db1.convert_unicode = true |
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||||
63 | ## restarted |
|
63 | ## restarted | |
64 | #timeout = 3600 |
|
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 | ## COMMON ## |
|
118 | ## COMMON ## | |
67 | host = 127.0.0.1 |
|
119 | host = 127.0.0.1 | |
68 | port = 5000 |
|
120 | port = 5000 | |
@@ -140,7 +192,12 b' gist_alias_url =' | |||||
140 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches | |
141 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated | |
142 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names | |
|
195 | ## Recommended settings bellow are commented out: | |||
143 | api_access_controllers_whitelist = |
|
196 | api_access_controllers_whitelist = | |
|
197 | # ChangesetController:changeset_patch, | |||
|
198 | # ChangesetController:changeset_raw, | |||
|
199 | # FilesController:raw, | |||
|
200 | # FilesController:archivefile | |||
144 |
|
201 | |||
145 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
202 | ## alternative_gravatar_url allows you to use your own avatar server application | |
146 | ## the following parts of the URL will be replaced |
|
203 | ## the following parts of the URL will be replaced | |
@@ -305,7 +362,7 b' beaker.cache.sql_cache_long.key_length =' | |||||
305 | #beaker.session.type = file |
|
362 | #beaker.session.type = file | |
306 |
|
363 | |||
307 | beaker.session.key = rhodecode |
|
364 | beaker.session.key = rhodecode | |
308 | beaker.session.secret = ${app_instance_uuid} |
|
365 | beaker.session.secret = production-rc-uytcxaz | |
309 |
|
366 | |||
310 | ## Secure encrypted cookie. Requires AES and AES python libraries |
|
367 | ## Secure encrypted cookie. Requires AES and AES python libraries | |
311 | ## you must disable beaker.session.secret to use this |
|
368 | ## you must disable beaker.session.secret to use this | |
@@ -425,8 +482,9 b' logview.pylons.util = #eee' | |||||
425 | ######################################################### |
|
482 | ######################################################### | |
426 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
|
483 | ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### | |
427 | ######################################################### |
|
484 | ######################################################### | |
428 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db |
|
485 | #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30 | |
429 | sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode |
|
486 | sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode | |
|
487 | #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode | |||
430 | sqlalchemy.db1.echo = false |
|
488 | sqlalchemy.db1.echo = false | |
431 | sqlalchemy.db1.pool_recycle = 3600 |
|
489 | sqlalchemy.db1.pool_recycle = 3600 | |
432 | sqlalchemy.db1.convert_unicode = true |
|
490 | sqlalchemy.db1.convert_unicode = true |
@@ -63,6 +63,58 b' max_request_body_size = 107374182400' | |||||
63 | ## restarted |
|
63 | ## restarted | |
64 | #timeout = 3600 |
|
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 | ## COMMON ## |
|
118 | ## COMMON ## | |
67 | host = 127.0.0.1 |
|
119 | host = 127.0.0.1 | |
68 | port = 5000 |
|
120 | port = 5000 | |
@@ -140,7 +192,12 b' gist_alias_url =' | |||||
140 | ## api access to raw_files put `FilesController:raw`, to enable access to patches |
|
192 | ## api access to raw_files put `FilesController:raw`, to enable access to patches | |
141 | ## add `ChangesetController:changeset_patch`. This list should be "," separated |
|
193 | ## add `ChangesetController:changeset_patch`. This list should be "," separated | |
142 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names |
|
194 | ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names | |
|
195 | ## Recommended settings bellow are commented out: | |||
143 | api_access_controllers_whitelist = |
|
196 | api_access_controllers_whitelist = | |
|
197 | # ChangesetController:changeset_patch, | |||
|
198 | # ChangesetController:changeset_raw, | |||
|
199 | # FilesController:raw, | |||
|
200 | # FilesController:archivefile | |||
144 |
|
201 | |||
145 | ## alternative_gravatar_url allows you to use your own avatar server application |
|
202 | ## alternative_gravatar_url allows you to use your own avatar server application | |
146 | ## the following parts of the URL will be replaced |
|
203 | ## the following parts of the URL will be replaced | |
@@ -427,7 +484,7 b' logview.pylons.util = #eee' | |||||
427 | ######################################################### |
|
484 | ######################################################### | |
428 |
|
485 | |||
429 | # SQLITE [default] |
|
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 | # POSTGRESQL |
|
489 | # POSTGRESQL | |
433 | # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode |
|
490 | # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode |
General Comments 0
You need to be logged in to leave comments.
Login now