Add migration before superuser creation
This commit is contained in:
parent
9046f4a5a0
commit
6f896e72f4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ spec:
|
|||
image: taigaio/taiga-back:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/bin/bash"]
|
||||
args: ["-c", "source /opt/venv/bin/activate && python manage.py createsuperuser --noinput"]
|
||||
args: ["-c", "source /opt/venv/bin/activate && CELERY_ENABLE=true python manage.py migrate && sleep 15 && python manage.py createsuperuser --noinput"]
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8000
|
||||
|
|
Loading…
Reference in a new issue