mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-09 03:26:40 +02:00
Updated Using Netbox Plugins (markdown)
parent
03abad8c70
commit
0c8fd3d472
@ -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: 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
|
||||||
|
|
||||||
`docker-compose.override.yml`, as its name implies, can contain configuration overrides for existing services or entirely new services.
|
`docker-compose.override.yml`, as its name implies, can contain configuration overrides for existing services or entirely new services.
|
||||||
@ -56,6 +58,7 @@ services:
|
|||||||
image: netbox:latest-plugins
|
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
|
## Build and Deploy
|
||||||
To build and deploy this in docker two commands are required.
|
To build and deploy this in docker two commands are required.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user