Updated Using Netbox Plugins (markdown)

Tobias Genannt 2025-03-13 16:17:50 +01:00
parent 80199ee261
commit 00f77f0aec

@ -35,7 +35,8 @@ RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt
# These lines are only required if your plugin has its own static files.
COPY configuration/configuration.py /etc/netbox/config/configuration.py
COPY configuration/plugins.py /etc/netbox/config/plugins.py
RUN DEBUG="true" SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
RUN DEBUG="true" SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" \
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
```
> NOTE: This `SECRET_KEY` is only used during the installation. There's no need to change it.