build: docker

This commit is contained in:
mol
2023-04-19 13:14:13 +08:00
parent 8f884cc352
commit a2caaddef4
7 changed files with 29 additions and 7 deletions

3
gunicorn.conf.py Normal file
View File

@ -0,0 +1,3 @@
workers = 5 # 定义同时开启的处理请求的进程数量,根据网站流量适当调整
worker_class = "gevent" # 采用gevent库支持异步处理请求提高吞吐量
bind = "0.0.0.0:80"