mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-07-19 23:56:11 +02:00
Add instructions for netbox_secrets since netbox_secretstore is not compatible with Netbox > 3.5
@ -12,7 +12,12 @@ Lets start with a fresh install of netbox-docker.
|
|||||||
### `plugin_requirements.txt`
|
### `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.
|
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
|
netbox-secretstore
|
||||||
```
|
```
|
||||||
@ -63,6 +68,19 @@ services:
|
|||||||
|
|
||||||
To get plugins to work within NetBox you need to add some configuration to `configuration/plugins.py`.
|
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
|
```python
|
||||||
PLUGINS = ["netbox_secretstore"]
|
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).
|
> 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!
|
## Step 4 - Build and Deploy!
|
||||||
|
Reference in New Issue
Block a user