mirror of
https://github.com/IgorKha/Grafana-Mikrotik.git
synced 2025-12-09 11:59:29 +00:00
fix issue #9 (run arm and other arch)
This commit is contained in:
parent
51ca2896de
commit
3adcdd666a
1 changed files with 8 additions and 8 deletions
|
|
@ -2,25 +2,23 @@ version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:8.3.4
|
image: grafana/grafana:9.0.0
|
||||||
|
env_file:
|
||||||
|
- .grafana
|
||||||
container_name: mk_grafana
|
container_name: mk_grafana
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./grafana/provisioning/:/etc/grafana/provisioning/
|
- ./grafana/provisioning/:/etc/grafana/provisioning/
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
|
||||||
- GF_SECURITY_ADMIN_USER=${GF_ADMIN_USER}
|
|
||||||
- GF_SECURITY_ADMIN_PASSWORD=${GF_ADMIN_PASSWORD}
|
|
||||||
- GF_USERS_ALLOW_SIGN_UP=false
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus
|
image: prom/prometheus
|
||||||
|
env_file:
|
||||||
|
- .prometheus
|
||||||
user: ${CURRENT_USER}
|
user: ${CURRENT_USER}
|
||||||
container_name: mk_prometheus
|
container_name: mk_prometheus
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
|
||||||
- MIKROTIK_IP=${MIKROTIK_IP}
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./prometheus/:/etc/prometheus
|
- ./prometheus/:/etc/prometheus
|
||||||
- ./prometheus/data/:/prometheus
|
- ./prometheus/data/:/prometheus
|
||||||
|
|
@ -28,9 +26,11 @@ services:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
|
|
||||||
snmp_exporter:
|
snmp_exporter:
|
||||||
image: mashinkopochinko/snmp_exporter_mikrotik
|
image: prom/snmp-exporter
|
||||||
container_name: mk_snmp_exporter
|
container_name: mk_snmp_exporter
|
||||||
restart: always
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./snmp/:/etc/snmp_exporter/
|
||||||
ports:
|
ports:
|
||||||
- "9116:9116"
|
- "9116:9116"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue