generated from bisco/codex-bootstrap
fix: suppress application healthcheck logs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -eu
|
||||
|
||||
attempt=1
|
||||
until python manage.py migrate --noinput; do
|
||||
until python manage.py migrate --noinput --verbosity 0; do
|
||||
if [ "$attempt" -ge 10 ]; then
|
||||
echo "Database migrations failed after $attempt attempts." >&2
|
||||
exit 1
|
||||
@@ -11,5 +11,5 @@ until python manage.py migrate --noinput; do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py collectstatic --noinput --verbosity 0
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user