Skip to content

Instantly share code, notes, and snippets.

@claym
Created November 23, 2022 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claym/3ca3e6816335d65e859c20727f2c826f to your computer and use it in GitHub Desktop.
Save claym/3ca3e6816335d65e859c20727f2c826f to your computer and use it in GitHub Desktop.
Speedtest + Influx + Grafana
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