summaryrefslogtreecommitdiffstats
path: root/docker/start.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/start.sh')
-rw-r--r--docker/start.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/docker/start.sh b/docker/start.sh
index 99f1ed0..1c01b6e 100644
--- a/docker/start.sh
+++ b/docker/start.sh
@@ -1,7 +1,5 @@
#!/bin/sh
-. /takahe/.venv/bin/activate
+python3 manage.py migrate
-python manage.py migrate
-
-exec gunicorn takahe.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000
+exec gunicorn takahe.wsgi:application -w 8 -b 0.0.0.0:8000