From 2eef404f14f9f20b4b85a53a8403fe53623f304e Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Wed, 7 Jan 2026 14:56:12 +0000 Subject: [PATCH] feat: add local_settings.py for netbox-branching support --- images/netbox/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/netbox/Dockerfile b/images/netbox/Dockerfile index 6f64682..64b43f1 100644 --- a/images/netbox/Dockerfile +++ b/images/netbox/Dockerfile @@ -20,6 +20,9 @@ RUN /usr/local/bin/uv pip install --no-cache -r /opt/netbox/plugin_requirements. # Copie de la configuration des plugins COPY plugins.py /etc/netbox/config/plugins.py +# Copie de local_settings.py pour netbox-branching (DynamicSchemaDict) +COPY local_settings.py /opt/netbox/netbox/netbox/local_settings.py + # NOTE: collectstatic est skippé au build car certains plugins (netbox_branching) # nécessitent une configuration runtime complète (DATABASES avec DynamicSchemaDict). # Les assets statiques seront collectés automatiquement au premier démarrage du container.