Self hosted FLOSS fitness/workout, nutrition and weight tracker
Apply migrations by default when DJANGO_PERFORM_MIGRATIONS is unset
Roland Geidere9215130d37c
diff --git a/extras/docker/production/entrypoint.sh b/extras/docker/production/entrypoint.shindex 764d90245..0cf077800 100644--- a/extras/docker/production/entrypoint.sh+++ b/extras/docker/production/entrypoint.sh@@ -36,7 +36,7 @@ thenfi# Perform database migrations-if [[ "$DJANGO_PERFORM_MIGRATIONS" == "True" ]];+if [[ "${DJANGO_PERFORM_MIGRATIONS:-True}" == "True" ]];thenecho "Performing database migrations"if ! python3 manage.py migrate; then