From 0c8fd3d47244da5c8ef32d8ecff55e15a5f83f35 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Fri, 15 Jan 2021 11:48:32 +0100 Subject: [PATCH] Updated Using Netbox Plugins (markdown) --- Using-Netbox-Plugins.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Using-Netbox-Plugins.md b/Using-Netbox-Plugins.md index 3d7e5c9..e768ff1 100644 --- a/Using-Netbox-Plugins.md +++ b/Using-Netbox-Plugins.md @@ -38,6 +38,8 @@ RUN pip install --no-warn-script-location -r /plugin_requirements.txt ``` > NOTE: You can swap the image out to use any of the images that the Netbox-Docker community publishes to [Docker Hub](https://hub.docker.com/r/netboxcommunity/netbox/tags). For example if LDAP is required, swap out `netboxcommunity/netbox:latest` for `netboxcommunity/netbox:latest-ldap`. +> NOTE: From **version 0.28.0** the Python environment for Netbox is installed into a virtual environment located at `/opt/netbox/venv`. Because of this the `RUN` command from above must be change to `RUN /opt/netbox/venv/bin/pip install -r /plugin_requirements.txt` + ## Docker Compose Override `docker-compose.override.yml`, as its name implies, can contain configuration overrides for existing services or entirely new services. @@ -55,7 +57,8 @@ services: netbox-worker: image: netbox:latest-plugins ``` -This configuration will change the ports `NGINX` will use. It will also select the build file created in previous steps and tell the `netbox-worker` service to now use the new image (netbox:latest-plugins) that has been created. +This configuration will change the ports `NGINX` will use. It will also select the build file created in previous steps and tell the `netbox-worker` service to now use the new image (netbox:latest-plugins) that has been created. +> NOTE: From **version 0.28.0** the Nginx container is not used anymore. The port mapping must be configured for the Netbox service. ## Build and Deploy To build and deploy this in docker two commands are required.