Added reset passwords script to auto run for each time watchtower pulls the image
This commit is contained in:
parent
0ec1e5b892
commit
c9bfeaed26
1 changed files with 2 additions and 0 deletions
|
|
@ -23,5 +23,7 @@ for fixture in /app/data/*.json; do
|
||||||
python manage.py loaddata "$fixture"
|
python manage.py loaddata "$fixture"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
python manage.py reset_passwords
|
||||||
|
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
exec daphne -b 0.0.0.0 -p 8000 config.asgi:application
|
exec daphne -b 0.0.0.0 -p 8000 config.asgi:application
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue