mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
Refactor netbox service in docker-compose.override.yml to remove build args and update image specification for clarity
This commit is contained in:
parent
11c9b771be
commit
c066f58965
|
|
@ -3,13 +3,15 @@ x-netbox-image: &netbox_image netboxplugins:local
|
|||
|
||||
services:
|
||||
netbox:
|
||||
# WICHTIG: eigenes Image bauen
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile-plugins
|
||||
args:
|
||||
FROM_TAG: v4.4-3
|
||||
image: *netbox_image
|
||||
pull_policy: never
|
||||
# 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"
|
||||
ports:
|
||||
- "8000:8080"
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Reference in a new issue