This commit is contained in:
2025-03-10 17:41:39 +08:00
parent 82d65af4a9
commit 60932c57f9
2 changed files with 11 additions and 1 deletions

View File

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