sha256:ab73ca6c1ef428a369a19ba34b389680be7db68bf7eafc5abc6758057a58a0cc
Last pushed
3 months by matthiasl381
Type
Compose
Manifest digest
sha256:ab73ca6c1ef428a369a19ba34b389680be7db68bf7eafc5abc6758057a58a0cc
# Docker Compose deployment for AlpinePackEX Packaging Line Dashboard.
#
# This is the Compose component referenced by the Margo Application Description.
# It is published two ways (see the Makefile):
# - docker-native, via `docker compose publish` → referenced by the legacy
# `packageLocation` in margo.yaml (tag :1.0.0);
# - as a Margo Compose Archive (Compose OCI SUP (#68)), via `oras push` of a single
# `application/vnd.org.margo.component.compose.tar+gzip` layer → referenced
# by `repository`+`revision` in the generated margo.oci.yaml (tag :1.0.0-margo).
#
# The margo-agent injects the OTEL environment variables at deploy time per the
# Margo observability spec. The margo-observability network is created by the
# device's observability stack and provides connectivity to the OTel collector.
services:
packaging-line-dashboard:
image: ${PACKAGING_LINE_DASHBOARD_IMAGE:-docker.io/zededa/packaging-line-dashboard:1.0.0}
pull_policy: always
restart: unless-stopped
ports:
- target: 8088
published: "${HOST_PORT:-8088}"
environment:
PORT: "8088"
PLANT_NAME: "${PLANT_NAME:-Munich}"
LINE_NAME: "${LINE_NAME:-Packaging Line 3}"
LINE_ASSET_ID: "${LINE_ASSET_ID:-MUC-PKG-03}"
THEME: "${THEME:-light}"
REFRESH_INTERVAL_SECONDS: "${REFRESH_INTERVAL_SECONDS:-2}"
TARGET_OEE_PERCENT: "${TARGET_OEE_PERCENT:-85.0}"
VISIBLE_METRICS: "${VISIBLE_METRICS:-speed,oee,rejects}"
# Margo-specified OTel environment variables.
# These are injected by the margo-agent at deploy time.
HTTP_OTEL_EXPORTER_OTLP_ENDPOINT: "${HTTP_OTEL_EXPORTER_OTLP_ENDPOINT:-}"
GRPC_OTEL_EXPORTER_OTLP_ENDPOINT: "${GRPC_OTEL_EXPORTER_OTLP_ENDPOINT:-}"
OTEL_EXPORTER_OTLP_PROTOCOL: "${OTEL_EXPORTER_OTLP_PROTOCOL:-}"
OTEL_EXPORTER_OTLP_CERTIFICATE: "${OTEL_EXPORTER_OTLP_CERTIFICATE:-}"
networks:
- margo-observability
networks:
margo-observability:
name: margo-observability
external: true
services:
packaging-line-dashboard:
image: docker.io/zededa/packaging-line-dashboard:1.0.0@sha256:cb141b90285ee1e8d5579b0b0dc59e12320883f85f60b529b026547c12fc86c2
docker compose -f oci://zededa/packaging-line-dashboard-compose:1.0.0 upUse the above command to pull and run the Compose file. Learn more.