Refactor Dockerfile-plugins to remove comments and streamline plugin installation; update requirements-plugins.txt for clarity

This commit is contained in:
bboerni2 2025-09-26 07:55:04 +02:00
parent eb8c90c9bb
commit 0bef7cfdca
3 changed files with 17 additions and 7 deletions

View file

@ -1,10 +1,5 @@
# nutze das offizielle Basisimage ohne "-plugins"
FROM ghcr.io/netbox-community/netbox:v4.4-3.4.0
# kopiere die Plugin-Requirements an einen eindeutigen Ort
COPY requirements-plugins.txt /opt/netbox/requirements-plugins.txt
# installiere Plugins
RUN /usr/local/bin/uv pip install --no-cache-dir -r /opt/netbox/requirements-plugins.txt
# KEIN collectstatic hier das macht der init-Container zur Laufzeit

View file

@ -11,3 +11,18 @@
# ADD YOUR SETTINGS HERE
# }
# }
PLUGINS = [
"netbox_topology_views",
"netbox_lifecycle",
"netbox_prometheus_sd",
"netbox_qrcode",
]
PLUGINS_CONFIG = {
# Beispiel für Topology Views, falls nötig:
# "netbox_topology_views": {
# "some_setting": "value"
# }
}

View file

@ -1,4 +1,4 @@
netbox-topology-views>=4.2.0,<5.0.0
netbox-device-lifecycle-mgmt>=1.1.0,<2.0.0
netbox-lifecycle>=1.1.0,<2.0.0
netbox-plugin-prometheus-sd>=0.3.0,<1.0.0
netbox-qrcode>=0.0.17,<1.0.0