Refactor plugins.py to remove commented-out code and simplify PLUGINS_CONFIG; update netbox.env to ensure DB_WAIT_DEBUG is set

This commit is contained in:
bboerni2 2025-09-26 08:10:37 +02:00
parent 0bef7cfdca
commit 9e7ac3610e
2 changed files with 2 additions and 21 deletions

View file

@ -1,18 +1,3 @@
# Add your plugins and plugin settings here.
# Of course uncomment this file out.
# To learn how to build images with your required plugins
# See https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
# PLUGINS = ["netbox_bgp"]
# PLUGINS_CONFIG = {
# "netbox_bgp": {
# ADD YOUR SETTINGS HERE
# }
# }
PLUGINS = [ PLUGINS = [
"netbox_topology_views", "netbox_topology_views",
"netbox_lifecycle", "netbox_lifecycle",
@ -20,9 +5,4 @@ PLUGINS = [
"netbox_qrcode", "netbox_qrcode",
] ]
PLUGINS_CONFIG = { PLUGINS_CONFIG = {}
# Beispiel für Topology Views, falls nötig:
# "netbox_topology_views": {
# "some_setting": "value"
# }
}

1
env/netbox.env vendored
View file

@ -3,6 +3,7 @@ DB_HOST=postgres
DB_NAME=netbox DB_NAME=netbox
DB_PASSWORD=J5brHrAXFLQSif0K DB_PASSWORD=J5brHrAXFLQSif0K
DB_USER=netbox DB_USER=netbox
DB_WAIT_DEBUG=1
EMAIL_FROM=netbox@bar.com EMAIL_FROM=netbox@bar.com
EMAIL_PASSWORD= EMAIL_PASSWORD=
EMAIL_PORT=25 EMAIL_PORT=25