mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-25 19:39:32 +00:00
makes the dashboard the default dashboard and adds a separate folder
This commit is contained in:
parent
38600b8cbc
commit
a3c990ca83
5 changed files with 15 additions and 11 deletions
|
|
@ -4,12 +4,11 @@ volumes:
|
|||
prometheus_data: {}
|
||||
grafana_data: {}
|
||||
|
||||
|
||||
services:
|
||||
# Prometheus
|
||||
# https://github.com/stefanprodan/dockprom
|
||||
prometheus:
|
||||
image: prom/prometheus:v2.37.0
|
||||
image: prom/prometheus:v2.42.0
|
||||
container_name: prometheus
|
||||
volumes:
|
||||
- ./prometheus:/etc/prometheus
|
||||
|
|
@ -26,17 +25,18 @@ services:
|
|||
# Grafana
|
||||
# https://github.com/stefanprodan/dockprom
|
||||
grafana:
|
||||
image: grafana/grafana:9.0.6
|
||||
image: grafana/grafana:9.3.6
|
||||
container_name: grafana
|
||||
volumes:
|
||||
- grafana_data:/var/lib/grafana
|
||||
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
||||
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
|
||||
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards:ro
|
||||
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources:ro
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
- GF_INSTALL_PLUGINS=flant-statusmap-panel
|
||||
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/mikrotik/monitor.json
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- default
|
||||
|
|
@ -46,9 +46,7 @@ services:
|
|||
# MKTXP
|
||||
# https://github.com/akpw/mktxp
|
||||
mktxp:
|
||||
# https://github.com/M0r13n/mikrotik_monitoring
|
||||
# Note: You might need to build the image yourself if not on AMD64 or ARM-v7/V8
|
||||
image: leonmorten/mktxp:latest
|
||||
image: ghcr.io/akpw/mktxp:gha-4093170275
|
||||
volumes:
|
||||
# Since Version v0.37 mktxp runs as single user
|
||||
# Prior it was root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue