-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yaml
57 lines (55 loc) · 1.47 KB
/
docker-compose.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
influxdb:
image: influxdb:1.8-alpine
ports:
- '8086:8086'
volumes:
- influxdb-storage:/var/lib/influxdb
environment:
- INFLUXDB_DB=${INFLUXDB_DB}
- INFLUXDB_ADMIN_USER=${INFLUXDB_USERNAME}
- INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_PASSWORD}
networks:
- speedtest
speedtester:
build:
context: speedtest
args:
- SPEEDTEST_CRON_SCHEDULE=${SPEEDTEST_CRON_SCHEDULE}
- SPEEDTEST_SERVER=${SPEEDTEST_SERVER}
volumes:
- speedtest-storage:/var/log/speedtest
depends_on:
- "influxdb"
networks:
- speedtest
telegraf:
build:
context: 'telegraf/.'
args:
DOCKERIZE_VERSION: v0.6.1
DOCKERIZE_ARCH: amd64
volumes:
- speedtest-storage:/var/log/speedtest
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf
depends_on:
- "influxdb"
networks:
- speedtest
grafana:
build: 'grafana/.'
ports:
- "3000:3000"
volumes:
- grafana-storage:/var/lib/grafana
environment:
- GF_SERVER_ROOT_URL=${GF_SERVER_ROOT_URL}
networks:
- speedtest
networks:
speedtest:
volumes:
influxdb-storage:
speedtest-storage:
grafana-storage: