add netbox_routing netbox_dns netbox_secrets netbox_inventory

This commit is contained in:
Ethan 2024-04-10 15:58:20 +01:00
parent 10b861621c
commit a35bce8d93
No known key found for this signature in database
GPG Key ID: 11F34734B59C6668
4 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,6 @@
FROM netboxcommunity/netbox:latest
COPY ./plugin_requirements.txt /opt/netbox/
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

View File

@ -4,7 +4,7 @@
# To learn how to build images with your required 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 = {
# "netbox_bgp": {

View File

@ -1,7 +1,7 @@
version: '3.4'
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v3.7-2.8.0}
image: netbox-plugins:latest
depends_on:
- postgres
- redis
@ -9,7 +9,7 @@ services:
env_file: env/netbox.env
user: 'unit:root'
healthcheck:
start_period: 60s
start_period: 120s
timeout: 3s
interval: 15s
test: "curl -f http://localhost:8080/api/ || exit 1"

View File

@ -1 +1,6 @@
netbox-topology-views
netbox_routing
netbox-plugin-dns
netbox-secrets
netbox-inventory