File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ language:
2323 WORKER_CLASS : sync
2424 PYTHON_APP : server:app
2525 command : >
26- gunicorn --log-level warning \
26+ gunicorn --log-level critical \
2727 --bind 0.0.0.0:3000 \
2828 --reuse-port \
2929 --workers $(nproc) \
@@ -55,7 +55,12 @@ language:
5555 PYTHON_APP : server:app
5656 bootstrap :
5757 - pip install uvicorn[standard]
58- command : uvicorn --host 0.0.0.0 --port 3000 --workers $(nproc) ${PYTHON_APP}
58+ command : >
59+ uvicorn --log-level critical \
60+ --host 0.0.0.0 \
61+ --port 3000 \
62+ --workers $(nproc) \
63+ ${PYTHON_APP}
5964 hypercorn :
6065 build_deps :
6166 - gcc g++
Original file line number Diff line number Diff line change @@ -12,22 +12,17 @@ framework:
1212language :
1313 engines :
1414 gunicorn :
15- command : >
16- gunicorn --log-level warning \
17- --bind 0.0.0.0:3000 \
18- --reuse-port \
19- --workers $(nproc) \
20- app.wsgi
15+ environment :
16+ PYTHON_APP : app.wsgi:application
2117 uwsgi :
22- command : >
23- uwsgi --module=app.wsgi:application \
24- --http=0.0.0.0:3000 \
25- --processes=$(nproc)
18+ environment :
19+ PYTHON_APP : app.wsgi:application
2620 daphne :
27- command : daphne -b 0.0.0.0 -p 3000 app.asgi:application
21+ environment :
22+ PYTHON_APP : app.asgi:application
2823 uvicorn :
29- command : >
30- uvicorn --host 0.0.0.0 --port 3000 \
31- --workers $(nproc) app.asgi:application
24+ environment :
25+ PYTHON_APP : app.asgi:application
3226 hypercorn :
33- command : hypercorn --bind 0.0.0.0:3000 --workers $(nproc) app.asgi:application
27+ environment :
28+ PYTHON_APP : app.asgi:application
You can’t perform that action at this time.
0 commit comments