diff --git a/defaults/main.yml b/defaults/main.yml index 5fcedda..4a1e166 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -88,3 +88,7 @@ grafana_log_level: error grafana_router_logging: false grafana_disable_sanitize_html: true grafana_traefik_entrypoint: 'websecure' + +# cloudflare + +prometheus_cloudflare_dns: "1.1.1.1" diff --git a/templates/compose/cloudflare.yml.j2 b/templates/compose/cloudflare.yml.j2 index ae421b3..5995aa7 100644 --- a/templates/compose/cloudflare.yml.j2 +++ b/templates/compose/cloudflare.yml.j2 @@ -18,3 +18,5 @@ services: - 8082:8080 networks: - {{ prometheus_docker_network }} + dns: + - "{{ prometheus_cloudflare_dns }}"