Add instructions for netbox_secrets since netbox_secretstore is not compatible with Netbox > 3.5

Olof Kasselstrand
2023-08-04 10:36:36 +02:00
parent 9b82ae7259
commit 7efdfcfa74

@ -12,7 +12,12 @@ Lets start with a fresh install of netbox-docker.
### `plugin_requirements.txt`
This file contains a list of the NetBox Plugins (as **PyPi Python Packages**) to be installed during the building of the Docker image.
For Example:
Add _netbox-secrets_ If you are using Netbox > 3.5:
```
netbox-secrets
```
or add _netbox-secretstore_ If you are using Netbox < 3.5:
```
netbox-secretstore
```
@ -63,6 +68,19 @@ services:
To get plugins to work within NetBox you need to add some configuration to `configuration/plugins.py`.
For Netbox > 3.5:
```python
PLUGINS = ["netbox_secrets"]
# PLUGINS_CONFIG = {
# "netbox_secretstore": {
# ADD YOUR SETTINGS HERE
# }
# }
```
or for Netbox < 3.5:
```python
PLUGINS = ["netbox_secretstore"]
@ -72,6 +90,7 @@ PLUGINS = ["netbox_secretstore"]
# }
# }
```
> NOTE: This can differ for every plugin. To learn more about this see the [NetBox documentation](https://netbox.readthedocs.io/en/stable/plugins/#enable-the-plugin).
## Step 4 - Build and Deploy!