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:
|
services:
|
||||||
netbox:
|
netbox:
|
||||||
|
# WICHTIG: eigenes Image bauen
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile-plugins
|
dockerfile: Dockerfile-plugins
|
||||||
args:
|
# optionaler lokaler Name statt Upstream-Tag:
|
||||||
FROM_TAG: v4.4-3
|
image: netbox-plugins:local
|
||||||
image: *netbox_image
|
# Plugins in NetBox aktivieren
|
||||||
pull_policy: never
|
environment:
|
||||||
|
PLUGINS: "netbox_topology_views,netbox_lifecycle,netbox_plugin_prometheus_sd,netbox_qrcode"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8080"
|
- "8000:8080"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue