forked from IgorKha/Grafana-Mikrotik
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (29 loc) · 833 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (29 loc) · 833 Bytes
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
name: mikromon
services:
grafana:
image: docker.io/grafana/grafana #:9.0.5
environment:
- GF_SECURITY_ADMIN_USE=admin
- GF_SECURITY_ADMIN_PASSWORD__FILE=/run/secrets/grafana_admin_pw
- GF_SECURITY_SIGN_UP=false
secrets:
- grafana_admin_pw
restart: always
volumes:
- /root/grafana-mikrotik/grafana/provisioning/:/etc/grafana/provisioning/
depends_on:
- snmp-exporter
prometheus:
image: docker.io/prom/prometheus
restart: always
user: root
volumes:
- /root/grafana-mikrotik/prometheus/:/etc/prometheus/
- /root/grafana-mikrotik/prometheus/data/:/prometheus/
snmp-exporter:
image: docker.io/prom/snmp-exporter
restart: always
volumes:
- /root/grafana-mikrotik/snmp/:/etc/snmp_exporter/
depends_on:
- prometheus