##// END OF EJS Templates
fix(configs): removed waitress as a default runner for web service on development....
super-admin -
r1236:23af3321 default
parent child Browse files
Show More
@@ -86,15 +86,10 b' sh:'
86 make dev-sh
86 make dev-sh
87
87
88
88
89 .PHONY: dev-srv
90 ## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash
91 dev-srv:
92 pserve --reload .dev/dev.ini
93
94 ## Allows changes of workers e.g make dev-srv-g workers=2
89 ## Allows changes of workers e.g make dev-srv-g workers=2
95 workers?=1
90 workers?=1
96
91
97 .PHONY: dev-srv-g
92 .PHONY: dev-srv
98 ## run gunicorn multi process workers
93 ## run gunicorn multi process workers
99 dev-srv-g:
94 dev-srv-g:
100 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10010 --config=.dev/gunicorn_config.py --reload --workers=$(workers)
95 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10010 --config=.dev/gunicorn_config.py --reload --workers=$(workers)
@@ -9,23 +9,6 b''
9 host = 0.0.0.0
9 host = 0.0.0.0
10 port = 10010
10 port = 10010
11
11
12 ; ##################################################
13 ; WAITRESS WSGI SERVER - Recommended for Development
14 ; ##################################################
15
16 ; use server type
17 use = egg:waitress#main
18
19 ; number of worker threads
20 threads = 5
21
22 ; MAX BODY SIZE 100GB
23 max_request_body_size = 107374182400
24
25 ; Use poll instead of select, fixes file descriptors limits problems.
26 ; May not work on old windows systems.
27 asyncore_use_poll = true
28
29
12
30 ; ###########################
13 ; ###########################
31 ; GUNICORN APPLICATION SERVER
14 ; GUNICORN APPLICATION SERVER
@@ -34,7 +17,7 b' asyncore_use_poll = true'
34 ; run with gunicorn --paste rhodecode.ini
17 ; run with gunicorn --paste rhodecode.ini
35
18
36 ; Module to use, this setting shouldn't be changed
19 ; Module to use, this setting shouldn't be changed
37 #use = egg:gunicorn#main
20 use = egg:gunicorn#main
38
21
39 [app:main]
22 [app:main]
40 ; The %(here)s variable will be replaced with the absolute path of parent directory
23 ; The %(here)s variable will be replaced with the absolute path of parent directory
@@ -6,7 +6,7 b''
6
6
7 [server:main]
7 [server:main]
8 ; COMMON HOST/IP CONFIG
8 ; COMMON HOST/IP CONFIG
9 host = 127.0.0.1
9 host = 0.0.0.0
10 port = 10010
10 port = 10010
11
11
12
12
General Comments 0
You need to be logged in to leave comments. Login now