I have a self-hosted instance in a Docker container. I’m trying to debug an issue (this one) and I would like to be able to make adjustments to the Django project configuration to help with debugging.
I know how to set environment variables when starting the container, but only a few of the Django configuration variables can be manipulated by setting environment variables (I think).
I know how to edit the configuration file at
but I don’t know how to make the running Django application load those changes.
In other contexts I typically serve the dynamic parts of a Django application using Gunicorn, and in those cases in order to reload the configuration I would restart the Gunicorn service.
But it doesn’t look like the Django application is being served by Gunicorn, or any other system I’m familiar with.
How can I make changes to the config/settings/base.py file take effect?