Add proxbox API service and update plugin requirements; configure environment variables

This commit is contained in:
bboerni2 2025-09-26 11:53:16 +02:00
parent b45e8f4b55
commit 333924e970
4 changed files with 37 additions and 1 deletions

1
.env Normal file
View file

@ -0,0 +1 @@
NETBOX_API_TOKEN=

View file

@ -4,6 +4,22 @@ PLUGINS = [
"netbox_prometheus_sd", "netbox_prometheus_sd",
"netbox_qrcode", "netbox_qrcode",
"netbox_floorplan", "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
},
}

View file

@ -73,3 +73,15 @@ services:
options: options:
max-size: "20m" max-size: "20m"
max-file: "5" 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

View file

@ -3,3 +3,10 @@ netbox-lifecycle>=1.1.0,<2.0.0
netbox-plugin-prometheus-sd>=1.2.0 netbox-plugin-prometheus-sd>=1.2.0
netbox-qrcode>=0.0.17,<1.0.0 netbox-qrcode>=0.0.17,<1.0.0
netbox-floorplan-plugin==0.8.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