-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
43 lines (40 loc) · 1017 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
version: "3.8"
services:
speedtest:
container_name: speedtest
build:
context: .
dockerfile: Dockerfile
depends_on:
- influxdb
env_file: .env
depends_on:
- influxdb
links:
- influxdb
grafana:
image: grafana/grafana
container_name: grafana
ports:
- 3000:3000
volumes:
- grafana:/var/lib/grafana
depends_on:
- influxdb
links:
- influxdb
influxdb:
container_name: influxdb
image: influxdb:2.0-alpine
environment:
DOCKER_INFLUXDB_INIT_USERNAME: speedtest
DOCKER_INFLUXDB_INIT_PASSWORD: speedtest
DOCKER_INFLUXDB_INIT_ORG: speedtest-org
DOCKER_INFLUXDB_INIT_BUCKET: speedtest-bckt
ports:
- 8086:8086
volumes:
- influxdb2:/var/lib/influxdb2
volumes:
influxdb2:
grafana: