mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-02-17 18:50:58 +01:00
Updated Using Netbox Plugins (markdown)
parent
d507c9fc04
commit
d7bcf4c0d3
@ -35,6 +35,10 @@ FROM netboxcommunity/netbox:latest
|
||||
|
||||
copy ./plugin_requirements.txt /
|
||||
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /plugin_requirements.txt
|
||||
|
||||
# These lines are only required if your plugin has its own static files.
|
||||
COPY configuration/configuration.py /etc/netbox/config/configuration.py
|
||||
RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
|
||||
```
|
||||
> 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`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user