feat: Add user deletion capability for admins, add WhiteNoise for Django admin static assets, and configure CSRF_TRUSTED_ORIGINS for production reverse proxies
This commit is contained in:
@@ -29,6 +29,7 @@ services:
|
||||
command: >
|
||||
sh -c "python manage.py makemigrations --noinput &&
|
||||
python manage.py migrate --noinput &&
|
||||
python manage.py collectstatic --noinput &&
|
||||
python manage.py create_admin &&
|
||||
gunicorn --bind 0.0.0.0:8000 --workers 3 shiftplan_backend.wsgi:application"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user