diff --git a/.env b/.env new file mode 100644 index 0000000..2a3b103 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +NETBOX_API_TOKEN= \ No newline at end of file diff --git a/configuration/plugins.py b/configuration/plugins.py index 4f3e381..e231c68 100644 --- a/configuration/plugins.py +++ b/configuration/plugins.py @@ -4,6 +4,22 @@ PLUGINS = [ "netbox_prometheus_sd", "netbox_qrcode", "netbox_floorplan", + "netbox_proxbox", + "netbox_otp", + "netbox_lists", + "netbox_inventory", + "netbox_dns", + "netbox_reorder_rack", ] -PLUGINS_CONFIG = {} +PLUGINS_CONFIG = { + "netbox_proxbox": { + }, + "netbox_inventory": { + "sync_serial_to_device": True, + "sync_asset_tag_to_device": True, + }, + "netbox_otp": { + # "enforce_otp": False, # ggf. global erzwingen + }, +} diff --git a/docker-compose.override.yml b/docker-compose.override.yml index f5a2ec2..22e31b6 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -73,3 +73,15 @@ services: options: max-size: "20m" max-file: "5" + + # docker-compose.override.yml – Zusatzservice + proxbox-api: + image: emersonfelipesp/proxbox-api:latest + environment: + # NetBox wird vom Backend via API beschrieben: + NETBOX_URL: http://netbox:8080 + NETBOX_TOKEN: ${NETBOX_API_TOKEN} + depends_on: + netbox: + condition: service_started + restart: unless-stopped diff --git a/requirements-plugins.txt b/requirements-plugins.txt index aa195f9..d2068b9 100644 --- a/requirements-plugins.txt +++ b/requirements-plugins.txt @@ -3,3 +3,10 @@ netbox-lifecycle>=1.1.0,<2.0.0 netbox-plugin-prometheus-sd>=1.2.0 netbox-qrcode>=0.0.17,<1.0.0 netbox-floorplan-plugin==0.8.0 +netbox-proxbox>=0.0.6b2 +proxbox-api>=0.0.2 +netbox-otp-plugin>=1.3.3 +netbox-lists +netbox-inventory +netbox-plugin-dns +netbox-reorder-rack \ No newline at end of file