mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
Refactor Dockerfile-plugins to remove comments and streamline plugin installation; update requirements-plugins.txt for clarity
This commit is contained in:
parent
eb8c90c9bb
commit
0bef7cfdca
|
|
@ -1,10 +1,5 @@
|
||||||
# nutze das offizielle Basisimage – ohne "-plugins"
|
|
||||||
FROM ghcr.io/netbox-community/netbox:v4.4-3.4.0
|
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
|
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
|
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
|
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,18 @@
|
||||||
# ADD YOUR SETTINGS HERE
|
# 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"
|
||||||
|
# }
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
netbox-topology-views>=4.2.0,<5.0.0
|
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-plugin-prometheus-sd>=0.3.0,<1.0.0
|
||||||
netbox-qrcode>=0.0.17,<1.0.0
|
netbox-qrcode>=0.0.17,<1.0.0
|
||||||
Loading…
Reference in a new issue