add netbox_routing netbox_dns netbox_secrets netbox_inventory
This commit is contained in:
parent
10b861621c
commit
a35bce8d93
@ -1,4 +1,6 @@
|
|||||||
FROM netboxcommunity/netbox:latest
|
FROM netboxcommunity/netbox:latest
|
||||||
COPY ./plugin_requirements.txt /opt/netbox/
|
COPY ./plugin_requirements.txt /opt/netbox/
|
||||||
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /opt/netbox/plugin_requirements.txt
|
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /opt/netbox/plugin_requirements.txt
|
||||||
|
COPY configuration/configuration.py /etc/netbox/config/configuration.py
|
||||||
|
COPY configuration/plugins.py /etc/netbox/config/plugins.py
|
||||||
|
RUN SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# To learn how to build images with your required plugins
|
# To learn how to build images with your required plugins
|
||||||
# See https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
|
# See https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
|
||||||
|
|
||||||
PLUGINS = ["netbox_topology_views"]
|
PLUGINS = ["netbox_topology_views","netbox_routing","netbox_dns","netbox_secrets","netbox_inventory"]
|
||||||
|
|
||||||
# PLUGINS_CONFIG = {
|
# PLUGINS_CONFIG = {
|
||||||
# "netbox_bgp": {
|
# "netbox_bgp": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '3.4'
|
version: '3.4'
|
||||||
services:
|
services:
|
||||||
netbox: &netbox
|
netbox: &netbox
|
||||||
image: docker.io/netboxcommunity/netbox:${VERSION-v3.7-2.8.0}
|
image: netbox-plugins:latest
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
@ -9,7 +9,7 @@ services:
|
|||||||
env_file: env/netbox.env
|
env_file: env/netbox.env
|
||||||
user: 'unit:root'
|
user: 'unit:root'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
start_period: 60s
|
start_period: 120s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
interval: 15s
|
interval: 15s
|
||||||
test: "curl -f http://localhost:8080/api/ || exit 1"
|
test: "curl -f http://localhost:8080/api/ || exit 1"
|
||||||
|
@ -1 +1,6 @@
|
|||||||
netbox-topology-views
|
netbox-topology-views
|
||||||
|
netbox_routing
|
||||||
|
netbox-plugin-dns
|
||||||
|
netbox-secrets
|
||||||
|
netbox-inventory
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user