commit
20d919f01b
7
Dockerfile-Plugins
Normal file
7
Dockerfile-Plugins
Normal file
@ -0,0 +1,7 @@
|
||||
FROM netboxcommunity/netbox:latest
|
||||
|
||||
RUN set -x \
|
||||
&& source /opt/netbox/venv/bin/activate \
|
||||
&& SITEDIR=$(/opt/netbox/venv/bin/python3 -c 'import site; print(site.getsitepackages()[0])') \
|
||||
&& pip install netbox-topology-views \
|
||||
&& cp -r $SITEDIR/netbox_topology_views/static/netbox_topology_views /opt/netbox/netbox/static/
|
@ -4,7 +4,7 @@
|
||||
# To learn how to build images with your required plugins
|
||||
# See https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
|
||||
|
||||
# PLUGINS = ["netbox_bgp"]
|
||||
PLUGINS = [ "netbox_topology_views" ]
|
||||
|
||||
# PLUGINS_CONFIG = {
|
||||
# "netbox_bgp": {
|
||||
|
Reference in New Issue
Block a user