Files
2026-07-29 10:47:40 +00:00

13 lines
292 B
Bash

#!/bin/sh
set -eu
python manage.py migrate --noinput
python manage.py collectstatic --noinput
exec gunicorn core.wsgi:application \
--bind "0.0.0.0:${PORT:-8000}" \
--workers "${GUNICORN_WORKERS:-3}" \
--timeout "${GUNICORN_TIMEOUT:-120}" \
--access-logfile - \
--error-logfile -