Verified Commit 2da29ea5 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Deploy using uvicorn instead

parent 73cfcbd1
......@@ -6,7 +6,7 @@ After=network.target
User=retribute
WorkingDirectory=/srv/retribute/api
EnvironmentFile=/srv/retribute/.env
ExecStart=/srv/retribute/venv/bin/daphne 127.0.0.1 -p 8091 config.asgi:application --proxy-headers
ExecStart=/srv/retribute/venv/bin/gunicorn config.asgi:application -w 4 -k uvicorn.workers.UvicornWorker -b 127.0.0.1:8091
[Install]
WantedBy=multi-user.target
......@@ -27,6 +27,8 @@ install_requires =
redis
channels
daphne
gunicorn
uvicorn
channels_redis
django
django-environ
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment