From 876abcf8d04b1737c33b3f79d434268f898e0db6 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Wed, 7 Jan 2026 15:10:29 +0000 Subject: [PATCH] fix: move local_settings.py to /etc/netbox/config/ --- images/netbox/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/netbox/Dockerfile b/images/netbox/Dockerfile index 64b43f1..a75cd2b 100644 --- a/images/netbox/Dockerfile +++ b/images/netbox/Dockerfile @@ -21,7 +21,8 @@ RUN /usr/local/bin/uv pip install --no-cache -r /opt/netbox/plugin_requirements. 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 +# Doit être dans /etc/netbox/config/ pour être chargé par netbox-docker +COPY local_settings.py /etc/netbox/config/local_settings.py # NOTE: collectstatic est skippé au build car certains plugins (netbox_branching) # nécessitent une configuration runtime complète (DATABASES avec DynamicSchemaDict).