Repository for multi-arch all-in-one container images that contains Grafana, Loki, and Promtail with included dashboards to visualize Ansible Automation Platform must-gather and sosreport logs.
Build linux amd64 based image.
make build
Build linux arm64 based image.
make ARCH=arm64 build
Build linux arm64 based image with docker.
make CONTAINER_RUNTIME=docker ARCH=arm64 build
Build image without using make replace ${OS} with linux/darwin and ${ARCH} with arm64/amd64.
podman build --build-arg TARGETARCH=${ARCH} --build-arg TARGETOS=${OS} -t ${APP_NAME} .
Run prebuilt image from Quay.io.
podman run --name aaplv -d -v ./{must-gather/sosreport}_dir:/logs:Z -p 3000:3000 quay.io/castawayegr/aap-log-visualizer:latest
Run locally built image using build section from above.
podman run --name aaplv -d -v ./{must-gather/sosreport}_dir:/logs:Z -p 3000:3000 localhost:/aap-log-visualizer:latest
Run locally built image using using the default log path
make run
Run locally built image using using custom path and docker
make CONTAINER_RUNTIME=docker LOGS_PATH=/tmp/{must-gather/sosreport}_dir run
MIT
This container repo was created by Michael Tipton.