Update Docker configuration: change command to use entrypoint script, set superuser environment variables, and adjust NGINX settings for port and server name.

This commit is contained in:
2025-11-11 10:43:23 +00:00
parent 7021035f94
commit 99ae905cb0
8 changed files with 92 additions and 7 deletions

9
app/entrypoint.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
python manage.py migrate --noinput
python manage.py ensure_admin
exec gunicorn keywarden.wsgi:application --bind 0.0.0.0:80 --workers 3