switch from WSGI using uWSGI to ASGI using custom event loop based on uvicorn
This commit is contained in:
parent
b103205dfe
commit
6b3cc4c168
15 changed files with 610 additions and 8 deletions
10
deploy/ansible/playbooks/templates/django.env.j2
Normal file
10
deploy/ansible/playbooks/templates/django.env.j2
Normal file
|
@ -0,0 +1,10 @@
|
|||
DB_HOST=localhost
|
||||
DB_PORT=3306
|
||||
DB_NAME=c3lf_sys3
|
||||
DB_USER=c3lf_sys3
|
||||
DB_PASSWORD={{ db_password }}
|
||||
HTTP_HOST={{ web_domain }}
|
||||
LEGACY_API_USER={{ legacy_api_user }}
|
||||
LEGACY_API_PASSWORD={{ legacy_api_password }}
|
||||
MEDIA_ROOT=/var/www/c3lf-sys3/userfiles
|
||||
STATIC_ROOT=/var/www/c3lf-sys3/staticfiles
|
Loading…
Add table
Add a link
Reference in a new issue