Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled the selection of cloudflare speedtest #475

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pihole_password: "change-this-password"
monitoring_enable: true
monitoring_grafana_admin_password: "admin"
monitoring_speedtest_interval: 60m
monitoring_speedtest_provider: ookla # changeable to ookla or cloudflare
monitoring_ping_interval: 5s
monitoring_ping_hosts: # [URL];[HUMAN_READABLE_NAME]
- http://www.google.com/;google.com
Expand Down
6 changes: 6 additions & 0 deletions templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ services:
- 9798
ports:
- 9798:9798
{% if monitoring_speedtest_provider == 'cloudflare' %}
image: redorbluepill/cloudflare-speedtest-exporter
{% else %}
image: miguelndecarvalho/speedtest-exporter
{% endif %}
restart: always
networks:
- back-tier

Expand Down
Loading