-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (50 loc) · 1.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "3.6"
services:
mk-influxdb:
container_name: mk-influxdb
image: influxdb:1.8-alpine
restart: unless-stopped
ports:
- "8086:8086"
volumes:
- ./influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- mk-influxdb-data:/var/lib/influxdb:rw
env_file:
- .env.influx
networks:
- mk_bridge_net
mk-telegraf:
container_name: mk-telegraf
image: telegraf:1.19.3-alpine
restart: unless-stopped
hostname: mkreg.dev
ports:
- "9043:9042"
volumes:
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
env_file:
- .env.influx
networks:
- mk_bridge_net
mk-grafana:
container_name: mk-grafana
image: grafana/grafana:8.1.1
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- mk-grafana-data:/var/lib/grafana
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
env_file:
- .env.grafana
networks:
- mk_bridge_net
networks:
mk_bridge_net:
volumes:
mk-influxdb-data:
driver: local
name: mk-influxdb-data
mk-grafana-data:
driver: local
name: mk-grafana-data