This commit is contained in:
2025-03-09 20:05:27 +08:00
parent 1d47bf2b30
commit d23e0d65fb
4 changed files with 43 additions and 108 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
python manage.py migrate --noinput
exec gunicorn --bind 0.0.0.0:8000 api.asgi:application -k gevent --workers 5
exec gunicorn --bind 0.0.0.0:8000 api.asgi:application -k uvicorn.workers.UvicornWorker