- custom manage-command
sessionsto purge sessions and identity file records from the database
- run manage-command
We can force the LOCAL environment to only purge the sessions instead of flushing the database.
docker-entrypoint.sh and change this
# Flush (empty) all database records only for the develop (a.k.a LOCAL) environment python3 $MANAGE_PY flush --no-input
python3 $MANAGE_py sessions --purge
After this, deploy LOCAL environment and test the app is served at address