Files
beatzaplenty bb00e8684d new file: crowdsec/Dockerfile
new file:   default-environment.env
	new file:   docker-compose.yml
	new file:   docker-exporter/Dockerfile
	new file:   docker-exporter/Dockerfile.old
	new file:   docker-exporter/TEST_EXAMPLE.md
	new file:   docker-exporter/exporter.py
	new file:   docker-exporter/exporter.py.old
	new file:   services-up.sh
	new file:   telegraf.conf
	new file:   traefik/certs/.gitkeep
	new file:   traefik/dynamic.yml
	new file:   traefik/letsencrypt/acme.json
	new file:   traefik/traefik.yml
2026-04-14 08:09:33 +10:00

702 B

Exporter image-mapping test example

Run the exporter in dry-run mode to print the service -> image:tag mapping without starting the metrics loop:

SERVICES_UP_SCRIPT=/workspace/docker/services-up.sh python monitoring/docker-exporter/exporter.py --dry-run

Example output excerpt:

{
  "crowdsec": "crowdsecurity/crowdsec:latest",
  "docker-update-exporter": "python:3.11-slim",
  "nextcloud-webapp": "nextcloud:production",
  "node-red": "nodered/node-red:latest",
  "prometheus": "prom/prometheus:latest",
  "traefik": "traefik:3"
}

This confirms the exporter now reports images for both:

  • services with explicit image: values, and
  • services using build: contexts.