cloudflare exporter - add email

This commit is contained in:
Ludovic Cartier 2023-08-29 10:30:25 +02:00
parent 8241b93f28
commit 09440d04e1
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
assert: assert:
that: that:
- cloudflare_api_key is defined - cloudflare_api_key is defined
- cloudflare_api_email is defined
tags: ['prometheus_cloudflare'] tags: ['prometheus_cloudflare']
- include_tasks: ../docker.yml - include_tasks: ../docker.yml

View File

@ -11,6 +11,7 @@ services:
restart: unless-stopped restart: unless-stopped
environment: environment:
- CF_API_TOKEN={{ cloudflare_api_key }} - CF_API_TOKEN={{ cloudflare_api_key }}
- CF_API_EMAIL={{ cloudflare_api_email }}
ports: ports:
- 8082:8080 - 8082:8080
networks: networks: