chore: initial snapshot of tubco people portal

This commit is contained in:
Md Bayazid Bostame
2026-03-19 10:22:20 +01:00
commit 9fe3c2ea82
81 changed files with 8698 additions and 0 deletions

11
backend/entrypoint-web.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
set -e
until nc -z "$POSTGRES_HOST" "$POSTGRES_PORT"; do
echo "Waiting for postgres at $POSTGRES_HOST:$POSTGRES_PORT..."
sleep 1
done
python manage.py migrate --noinput
python manage.py collectstatic --noinput
exec gunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 3 --timeout 120 --access-logfile - --error-logfile -