We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb94b29 commit 63e240aCopy full SHA for 63e240a
Procfile
@@ -1 +1 @@
1
-web: uvicorn src.main:app --host=0.0.0.0 --port=${PORT:-8000}
+web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker src.main:app
requirements.txt
@@ -16,6 +16,7 @@ email-validator==1.1.3
16
fakeredis==1.5.2
17
fastapi==0.66.0
18
fastapi-mail==0.3.7
19
+gunicorn==20.1.0
20
h11==0.12.0
21
hiredis==2.0.0
22
httpcore==0.13.6
0 commit comments