added hot reload and Gevent to uwsgi server

This commit is contained in:
2023-10-18 21:08:23 +08:00
parent 67948f81c4
commit 3626cd7980
19 changed files with 551 additions and 406 deletions

8
docker/uwsgi.ini Normal file
View File

@@ -0,0 +1,8 @@
[uwsgi]
#logformat = "%(proto) - %(method) %(uri) %(status) %(addr)
need-plugin=/usr/lib/uwsgi/python_plugin.so
need-plugin=/usr/lib/uwsgi/gevent3_plugin.so
socket = :1910
module = md2html.uwsgi_handler
virtualenv = /var/md2html/venv
gevent = 1000