2025-09-25 05:52:39 +00:00
|
|
|
|
|
|
|
|
x-netbox-image: &netbox_image netboxplugins:local
|
|
|
|
|
|
2025-09-23 12:11:36 +00:00
|
|
|
services:
|
|
|
|
|
netbox:
|
2025-09-26 05:39:24 +00:00
|
|
|
# WICHTIG: eigenes Image bauen
|
2025-09-23 14:59:45 +00:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile-plugins
|
2025-09-26 05:39:24 +00:00
|
|
|
# optionaler lokaler Name statt Upstream-Tag:
|
|
|
|
|
image: netbox-plugins:local
|
|
|
|
|
# Plugins in NetBox aktivieren
|
|
|
|
|
environment:
|
|
|
|
|
PLUGINS: "netbox_topology_views,netbox_lifecycle,netbox_plugin_prometheus_sd,netbox_qrcode"
|
2025-09-23 12:11:36 +00:00
|
|
|
ports:
|
|
|
|
|
- "8000:8080"
|
2025-09-25 05:52:39 +00:00
|
|
|
restart: unless-stopped
|
2025-09-23 12:11:36 +00:00
|
|
|
|
2025-09-24 11:06:36 +00:00
|
|
|
netbox-worker:
|
2025-09-23 12:11:36 +00:00
|
|
|
restart: unless-stopped
|
2025-09-25 05:52:39 +00:00
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "10m"
|
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "20m"
|
|
|
|
|
max-file: "5"
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "20m"
|
|
|
|
|
max-file: "5"
|
|
|
|
|
|
|
|
|
|
redis-cache:
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
logging:
|
|
|
|
|
driver: "json-file"
|
|
|
|
|
options:
|
|
|
|
|
max-size: "20m"
|
|
|
|
|
max-file: "5"
|