2023-01-27 16:51:27 +01:00
|
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
{{ prometheus_docker_network }}:
|
|
|
|
|
external: true
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
cloudflare-exporter:
|
|
|
|
|
container_name: cloudflare-exporter
|
|
|
|
|
image: ghcr.io/lablabs/cloudflare_exporter:latest
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- CF_API_TOKEN={{ cloudflare_api_key }}
|
2023-08-29 10:30:25 +02:00
|
|
|
|
- CF_API_EMAIL={{ cloudflare_api_email }}
|
2024-03-18 11:10:38 +01:00
|
|
|
|
labels:
|
|
|
|
|
com.centurylinklabs.watchtower.enable: {{ cloudflare_exporter_watchtower_enable | default('true') }}
|
2023-01-27 16:51:27 +01:00
|
|
|
|
ports:
|
|
|
|
|
- 8082:8080
|
|
|
|
|
networks:
|
|
|
|
|
- {{ prometheus_docker_network }}
|
2024-05-24 11:05:59 +02:00
|
|
|
|
dns:
|
|
|
|
|
- "{{ prometheus_cloudflare_dns }}"
|