-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 955 Bytes
/
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
42
43
# inspired by https://gitlab.com/thinkonezero/docker-internet-speedtest-dashboard
version: '2'
services:
influxdb:
image: influxdb:1.8
container_name: influxdb
restart: unless-stopped
ports:
- '8086:8086'
environment:
INFLUXDB_DB: speedtest
volumes:
- '/opt/internet-speedtest/influxdb:/var/lib/influxdb'
chronograf:
image: chronograf:1.8
container_name: chronograf
restart: unless-stopped
ports:
- '8888:8888'
environment:
INFLUXDB_URL: http://influxdb:8086
volumes:
- '/opt/internet-speedtest/chronograf:/var/lib/chronograf'
links:
- influxdb
depends_on:
- influxdb
speedtest:
image: sthuber90/speedtest
container_name: speedtest
restart: unless-stopped
dns:
- 127.0.0.1
- 1.1.1.1
environment:
INFLUXDB_DB: speedtest
TEST_INTERVAL: 900
links:
- influxdb
depends_on:
- influxdb