mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-26 03:49:32 +00:00
Grafana
This commit is contained in:
parent
bd6bbbeb05
commit
eea3de6f66
6 changed files with 3141 additions and 2 deletions
|
|
@ -2,6 +2,7 @@ version: "3.9"
|
|||
|
||||
volumes:
|
||||
prometheus_data: {}
|
||||
grafana_data: {}
|
||||
|
||||
|
||||
services:
|
||||
|
|
@ -36,3 +37,25 @@ services:
|
|||
- default
|
||||
labels:
|
||||
org.label-schema.group: "monitoring"
|
||||
|
||||
# Grafana
|
||||
# https://github.com/stefanprodan/dockprom
|
||||
grafana:
|
||||
image: grafana/grafana:8.0.4
|
||||
container_name: grafana
|
||||
volumes:
|
||||
- grafana_data:/var/lib/grafana
|
||||
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
||||
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 80:3000
|
||||
networks:
|
||||
- default
|
||||
labels:
|
||||
org.label-schema.group: "monitoring"
|
||||
Loading…
Add table
Add a link
Reference in a new issue