forked from the-benchmarker/web-frameworks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
33 lines (31 loc) · 782 Bytes
/
config.yaml
File metadata and controls
33 lines (31 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
framework:
website: djangoproject.com
version: 5.0
engines:
- gunicorn
- uwsgi
- uvicorn
- hypercorn
- daphne
language:
engines:
gunicorn:
command: >
gunicorn --log-level warning \
--bind 0.0.0.0:3000 \
--reuse-port \
--workers $(nproc) \
app.wsgi
uwsgi:
command: >
uwsgi --module=app.wsgi:application \
--http=0.0.0.0:3000 \
--processes=$(nproc)
daphne:
command: daphne -b 0.0.0.0 -p 3000 app.asgi:application
uvicorn:
command: >
uvicorn --host 0.0.0.0 --port 3000 \
--workers $(nproc) app.asgi:application
hypercorn:
command: hypercorn --bind 0.0.0.0:3000 --workers $(nproc) app.asgi:application