Files
monitoring-ng/compose.scrape-auth.yml
dannygroenewegen 402e022114 feat: separate scrape_auth secret, configurable usernames
Added an optional scrape_auth secret for authenticating scrapes of
containers that opt in via prometheus.io/auth labels, no longer
reusing the basic_auth secret meant for Prometheus/Loki writes.

Made usernames for both write endpoints and authenticated scraping
configurable in .env.
2026-08-07 15:52:19 +02:00

14 lines
216 B
YAML

---
version: "3.8"
services:
app:
secrets:
- source: scrape_auth
target: scrape_auth
secrets:
scrape_auth:
external: true
name: ${STACK_NAME}_scrape_auth_${SECRET_SCRAPE_AUTH_VERSION}