mirror of
https://github.com/pretix/pretix.git
synced 2026-04-30 00:22:40 +00:00
Docker standalone: migrate before start
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user