based on the official grafana/promtail image, but sets external labels from ENV var "EXTERNAL_LABELS
1.8K
This is based on the official [grafana/promtail] image. All it does is add the
command line argument -client.external-labes="#{EXTERNAL_LABELS}" so you can
set labels via an environment variable.
E.g. in docker-compose.yml, used with docker swarm:
promtail:
image: "410labs/promtail"
deploy:
mode: global
environment:
EXTERNAL_LABELS: "host={{.Node.Hostname}}"
Content type
Image
Digest
Size
61.8 MB
Last updated
about 5 years ago
docker pull 410labs/promtail