Added reset passwords script to auto run for each time watchtower pulls the image

This commit is contained in:
Viswamedha Nalabotu 2026-02-27 01:02:21 +00:00
parent 0ec1e5b892
commit c9bfeaed26

View file

@ -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