Docker standalone: migrate before start

This commit is contained in:
Raphael Michel
2015-05-18 16:28:55 +02:00
parent 3fbd57add7
commit 73a469485b

View File

@@ -2,6 +2,7 @@
cd /pretix/src
export DJANGO_SETTINGS_MODULE=pretix.settings
export MEDIA_ROOT=/data/
python3 manage.py migrate
gunicorn \
-b '0.0.0.0:80' \
-w 3 --max-requests 1000 --max-requests-jitter 50 \