Created
November 23, 2022 01:28
-
-
Save claym/3ca3e6816335d65e859c20727f2c826f to your computer and use it in GitHub Desktop.
Speedtest + Influx + Grafana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
influxdb: | |
restart: always | |
image: influxdb:1.5 | |
volumes: | |
- "./docker/data/influxdb/:/var/lib/influxdb" | |
ports: | |
- "8086:8086" | |
environment: | |
- "INFLUXDB_ADMIN_USER=admin" | |
- "INFLUXDB_ADMIN_PASSWORD=password" | |
- "INFLUXDB_DB=speedtest" | |
speedtest-influxdb: | |
restart: always | |
image: quadstingray/speedtest-influxdb:0.9.2 | |
build: . | |
links: | |
- "influxdb:influxdb" | |
environment: | |
- "SPEEDTEST_SERVER=16970" | |
- "INTERVAL=300" | |
grafana: | |
restart: always | |
image: grafana/grafana:5.1.0 | |
volumes: | |
- "./docker/data/grafana:/var/lib/grafana" | |
- "./docker/grafana/provisioning:/etc/grafana/provisioning" | |
ports: | |
- "3000:3000" | |
user: "1000" | |
links: | |
- "influxdb:influxdb" | |
environment: | |
- "GF_SERVER_ROOT_URL=http://localhost" | |
- "GF_SECURITY_ADMIN_PASSWORD=admin" | |
- "GF_AUTH_ANONYMOUS_ENABLED=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment