-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
41 lines (39 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3"
services:
influxdb:
image: influxdb:1.8
restart: always
# Uncomment below you want the DB exposed for use elsewhere
# ports:
# - 8086:8086
volumes:
- influxdb:/var/lib/influxdb
environment:
- INFLUXDB_DB=speedtest
grafana:
image: grafana/grafana
restart: always
ports:
- 3000:3000
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_SERVER_ROOT_URL=http://localhost
- GF_INSTALL_PLUGINS=dalvany-image-panel
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/speedtest.json
- GF_AUTH_ANONYMOUS_ENABLED=true
# Replace above with below to replace anonymous access
# - GF_SECURITY_ADMIN_PASSWORD=password
depends_on:
- influxdb
speedtest:
image: jmacalinao/speedtest-influx
restart: always
# Uncomment below if you need to set these variables
# environment:
# - SPEEDTEST_INTERVAL=
# - SPEEDTEST_SERVER=
depends_on:
- influxdb
volumes:
influxdb: