From e549d33a4824815883dff9a5de9410efa45b4dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Tue, 3 Oct 2023 23:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=AF=E5=8A=A8=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/docker_start.sh | 2 +- backend/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/docker_start.sh b/backend/docker_start.sh index 1285d98..49ffb5e 100755 --- a/backend/docker_start.sh +++ b/backend/docker_start.sh @@ -2,4 +2,4 @@ # python manage.py makemigrations # python manage.py migrate # python manage.py init -y -gunicorn -c gunicorn_conf.py application.asgi:application +uvicorn application.asgi:application --port 8000 --host 0.0.0.0 --workers 4 diff --git a/backend/requirements.txt b/backend/requirements.txt index 97d4bfc..b6b068d 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -25,7 +25,7 @@ user-agents==2.2.0 six==1.16.0 whitenoise==6.3.0 psycopg2==2.9.5 -uvicorn==0.20.0 +uvicorn==0.21.1 gunicorn==20.1.0 gevent==22.10.2 Pillow==8.3.2