SOCIAL_AUTH environment variables are not loaded on configuration.py #1052
-
I'm trying to setup Azure AD integration, as described here: https://docs.netbox.dev/en/stable/administration/authentication/microsoft-azure-ad/ However, being this is a containerized instance, I chose to put the variables in the Reading the netbox-docker documentation seems to suggest that these configuration files should not be modified and that the Is this a bug that should be reported? Is there a reason these environment variables are not included in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not all configuration options can be set with ENV variables. But the container will read all |
Beta Was this translation helpful? Give feedback.
-
Ok. Yes, I added another .py file and the settings were included. Thank you. |
Beta Was this translation helpful? Give feedback.
Not all configuration options can be set with ENV variables. But the container will read all
.py
files from/etc/netbox/config/
.If you are using the default docker-compose files you can simply put a new Python file into the
configuration
directory which is mounted into the container.